From patchwork Sun Jul 17 12:42:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 12920522 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 99DDCC43334 for ; Sun, 17 Jul 2022 12:44:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/ifzg6OIk81qPmyyimn/Vhz8A36bzRaWgcjVh7tPM30=; b=YaXg7Y9h5uGNRA Kge/yLBVLSHZJ50UAVAo3Jf1CqVPHyWQdLVW/TId3V3IqSA2EUrnFPW7KIiz5E0oMgvlnqtSDP5ww tVYfwb0k/J4hzhWXim38LaatRiLluMUtYMQCOQ8PWSqPocOlhiM+DoGijj5y3z4QPu91cgVLLxMWY 078Ag1PP0inlk6uNd2zKYFzxwDqsllxVd4Prmm77Y396QHwtPISoIVhOyCeGUaqAPlP2dokJa4YgL qk1IXjnoLR647bkMhIoCjkFDMFwi3gQZHv1sjtm8lbEsCeWnonnXfqTOgCjav0PP5Ppvp00GKo1u2 mKrnAQRLotFQcoMKL1cA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oD3cC-006oWn-Jq; Sun, 17 Jul 2022 12:43:16 +0000 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oD3c1-006oPv-11 for linux-arm-kernel@lists.infradead.org; Sun, 17 Jul 2022 12:43:06 +0000 Received: by mail-ej1-x62c.google.com with SMTP id fy29so15632949ejc.12 for ; Sun, 17 Jul 2022 05:43:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=heItu7qNWLJ2iI4fhTzcVgfEgKTOgTZD5O+P4na3DrY=; b=iA17OtDvOPV9zwYv53yjkHqCiHIbJMZQconVanqI63FrS+kXrjsxnjJVBUQTKAjFdQ MuLaV0UHmzjbvcptjecnJwR/hlNPvb32pi2iwAudkrnyAaTLsw74Z3BhoNW+3WcWofUa kYnBNUCPEwTG2UO1nvoKtSuFfR8UJQhiay+ZzuO34+lbIWY1kEkjP1Ao5IvV4Y7yjaDf yUbsJphraV3sCTl8F5bZvoSRiBWbEt0MYd3FhlNcO4OiZaU4wP7e6askx364e8OEdf3Q hLHD9tNoc9OXqIddB1MSTUaHeLAJHCC6bM37TiynonUEuoMB7D0EEH7kkUqwGfC26/a+ PaHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=heItu7qNWLJ2iI4fhTzcVgfEgKTOgTZD5O+P4na3DrY=; b=PUxvZK4K+ODss8Yn8Ej1bEK8KnA/8fHZCMDMPKxiW5ctUKai+JB1m4QX7VUbadg8BX OYLuvABq5b1m4LW8nYX50D+Vib1+vdwbECcrRsuXLeXUbyJDFKY1In3ApQHBkpqlFlZx ve3TNzVkpE0lHNoFtBCc06kyXxbMsxo9H0U1gtzLvIvibZP3kznZLA9I7BmVOJPK7bGa jfYPQxENp0U2eNVLJvxLJ8OMcIMEe68ph89xYPiZ4Cpob1cNbqOVbeHs7rCoEGl3ahOi GlhJDst38TjEMa2/CQgm+4gZOFSPCOJlLoxZ6E51c807hNFMOVUbR2JKlMv+RAHg/qux 8nGA== X-Gm-Message-State: AJIora9eAMfEaS59rsmZQPK48v3Lan7a7v4T2umzYlSpGfprgJRGrcC8 gWH5xH43BsgBfGP87woyhpo= X-Google-Smtp-Source: AGRyM1swE+XIig5oXG3rbEORKdCkp52rvaCzTxLSD6iXjjaQ4BQ6qlo1Y0LYuZbJQ2rIaoZWjQEv3w== X-Received: by 2002:a17:906:8479:b0:72b:83cf:4cf3 with SMTP id hx25-20020a170906847900b0072b83cf4cf3mr21609830ejc.90.1658061782404; Sun, 17 Jul 2022 05:43:02 -0700 (PDT) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id i22-20020aa7c716000000b0043a64eee322sm4520588edq.28.2022.07.17.05.43.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jul 2022 05:43:02 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Pavel Machek Cc: Rob Herring , Krzysztof Kozlowski , William Zhang , Anand Gore , Kursad Oney , Florian Fainelli , linux-leds@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH 1/3] dt-bindings: leds: leds-bcm63138: unify full stops in descriptions Date: Sun, 17 Jul 2022 14:42:46 +0200 Message-Id: <20220717124248.13562-2-zajec5@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220717124248.13562-1-zajec5@gmail.com> References: <20220717124248.13562-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220717_054305_088492_4E16424A X-CRM114-Status: GOOD ( 13.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Rafał Miłecki Description of "reg" doesn't have full stop at the end. It makes sense as it's a one-sentence only. Use the same style for "active-low". Reported-by: Pavel Machek Signed-off-by: Rafał Miłecki --- Documentation/devicetree/bindings/leds/leds-bcm63138.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/leds/leds-bcm63138.yaml b/Documentation/devicetree/bindings/leds/leds-bcm63138.yaml index 99cd4ba9b0ca..52252fb6bb32 100644 --- a/Documentation/devicetree/bindings/leds/leds-bcm63138.yaml +++ b/Documentation/devicetree/bindings/leds/leds-bcm63138.yaml @@ -54,7 +54,7 @@ patternProperties: active-low: type: boolean - description: Makes LED active low. + description: Makes LED active low required: - reg From patchwork Sun Jul 17 12:42:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 12920525 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4BF14C433EF for ; Sun, 17 Jul 2022 12:44:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hg+KqWp5f/diOLf3olRomCONPTeiizOGiLWLEIybd5E=; b=uA7qBckORO8cuB lLy/iY0yOexKkAkegGWSXegnGxxxMX+VXWr4tguItPVm09MgPEsQAN5MQWHCq2HmnSIEAU8Z2IjIq T4M+VR7MLin9n25MxQ5XsWjq075FtV7RcJokwlP9195xJo/ms6ck3TW/g1GsH15nCcFBWLy9+PoQu 2jRwKexIXZf+HhffwKRNSGdNt/zJQs6nQq8+CJ8muGJgd+5xg8W7adewaWgtH9OY8R/ReG/Z8Z0WL kpVFPodmDEhMOCpn7pTK/cdl2fsJpTOS3Kpz8mgmh91jZBWbdJgiFnyh297CnjE9vJH8kKFiRmqAD Fg9W+Xdgyil23vo/dHpA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oD3cT-006obd-91; Sun, 17 Jul 2022 12:43:33 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oD3c3-006oQF-Ag for linux-arm-kernel@lists.infradead.org; Sun, 17 Jul 2022 12:43:09 +0000 Received: by mail-ej1-x632.google.com with SMTP id ez10so16713288ejc.13 for ; Sun, 17 Jul 2022 05:43:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KE97/SBmhO7aw3gFJCxcKM7p1dKmYViOU/YqYue35DU=; b=HHyPrTv20yWLSIzwggHfU0DjvMlfi6GYfxFKo1Z7U9HTkjp2D5Zb0cd2pZ9qJCOhSg fTJLoZ192E8Jpe9/T4LoCoEA0kCJtHSs83b28YYY7qY5olKAXBSLeRPgIv585mM90Ml5 DCHYJEx5cV/B+L88n4CGqbSgORmQi0QH/8kyqcJ82OC4Ar1DOolqRx1nTiknYBWmYqtY qeUjXzBIyJWfkVnzWtcQZZKmWpiu2YuyXRXA7ViYpkTHdw1FvI4VTXG2mEhuRRYkv4HC cNo3A8y7qcIJTEJ49qiBk3JZTkNokTtVLv/zHYQz4cpqFsnoIBgoKsfAr4nMllRUnuMY tSOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KE97/SBmhO7aw3gFJCxcKM7p1dKmYViOU/YqYue35DU=; b=t4718YD+3GZuPu6K6d90HLi1FE6MZBiKrgivLKnL+Ty72BQzrseYH6u/rHKH/qaT77 l3k2D0PHt+/ofY2v8mBWPCcZYSsiXFymnlPOV47XXWIZia9Z+Vl3YDisJaWJSbbJGsoY C3yV8F/Zk0X8/bpXWSX4hn+wo/mFn5r4Pekr0f6lnZWsC40a552o6SosZC40UWKfruaR WpHyNBH1LC5rWGvICBouqyfEddh1c48405aPaxAj7LTULHaRoaNgJCRMv6D6w2od+S7f PFOeNOo91pk0ZgRZnStsZ4/Mj6E52zgEQFLvmxWK9kdnZezlNUOoePp4CTj0dDFpv07L xb/g== X-Gm-Message-State: AJIora9C43Z3lGiNvXUVJz/NwCBmaVSXB24k7QnQWlDlRw4Ix/A91+aK g593SgKCONOZZRcxITlcpzM= X-Google-Smtp-Source: AGRyM1sK3E8RGOgV5nk5HqHonA0Fzt27080ufNkbbTtW55Cwh9UkAaff/TEgsGooDK46U/vWGvNZnA== X-Received: by 2002:a17:907:760f:b0:72b:7eb4:be52 with SMTP id jx15-20020a170907760f00b0072b7eb4be52mr21867628ejc.737.1658061783601; Sun, 17 Jul 2022 05:43:03 -0700 (PDT) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id i22-20020aa7c716000000b0043a64eee322sm4520588edq.28.2022.07.17.05.43.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jul 2022 05:43:03 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Pavel Machek Cc: Rob Herring , Krzysztof Kozlowski , William Zhang , Anand Gore , Kursad Oney , Florian Fainelli , linux-leds@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH 2/3] leds: add help info about BCM63138 module name Date: Sun, 17 Jul 2022 14:42:47 +0200 Message-Id: <20220717124248.13562-3-zajec5@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220717124248.13562-1-zajec5@gmail.com> References: <20220717124248.13562-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220717_054307_426193_981FBABB X-CRM114-Status: GOOD ( 11.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Rafał Miłecki It's what we do for all other LEDs drivers. Reported-by: Pavel Machek Signed-off-by: Rafał Miłecki --- drivers/leds/blink/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/leds/blink/Kconfig b/drivers/leds/blink/Kconfig index c680af01b5a9..945c84286a4e 100644 --- a/drivers/leds/blink/Kconfig +++ b/drivers/leds/blink/Kconfig @@ -10,6 +10,8 @@ config LEDS_BCM63138 BCM63138 SoC. The same hardware block is known to be also used in BCM4908, BCM6848, BCM6858, BCM63148, BCM63381 and BCM68360. + If compiled as module it will be called leds-bcm63138. + config LEDS_LGM tristate "LED support for LGM SoC series" depends on X86 || COMPILE_TEST From patchwork Sun Jul 17 12:42:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 12920524 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D6DA7CCA47B for ; Sun, 17 Jul 2022 12:44:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RkgbkmvN9m4LGaYCqS/OsqcXwKLn7wAWHo6cEPadraA=; b=Lrlsl+Jl4bwy2O /9RZK8knyGZi6sos0hTIKSqGO5AlOa5L2yPpDi4+XLkCcC1pJT35+XAoO4KgngL0y37f+JQdCdQH3 dxyhGL3ltszvaELGw8n+j204cg6bbMdgcUrVohzLFl/lMyGL5OBzi1UUyYaX6azdIo0LCPbv/ufdG JB2Sdbe5vx01repc7KZbDlgNKW7IyDP6bKiBJAATnUeU/5lLQ5XBRXoReaqZ/iwHGvtUvuRCWVZiu 6bao0ia78e1emcic0ANoxB/rjjGmD8uQnvBRzwvU3TuwiIzeaHySNrNR1W9Lg7tdLeMO3oBkysYlF 9ocFYVJ8hM1mgEsyrlZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oD3cL-006oYx-0w; Sun, 17 Jul 2022 12:43:25 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oD3c3-006oQk-7v for linux-arm-kernel@lists.infradead.org; Sun, 17 Jul 2022 12:43:08 +0000 Received: by mail-ej1-x634.google.com with SMTP id sz17so16743868ejc.9 for ; Sun, 17 Jul 2022 05:43:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YYzoacsZMoWFZstDTYaMwcaR8lS9+roWWLsiPfEpSnk=; b=e4uJUwKO+QuZiIwn6MC8rXU63K4IQnrySJmVyWBlaYif3fEz+/I8FexF02N7TDtzwA zHQmFzbKcC93LA0JZiHT89zqpF8q04j3rxXpaIvh8yselMOnEWl3fZSN7p87Top8KD+1 Ijkpgvmnde3BdhbD75TOHeFc2y+z6j7wvxTassSQY9kf7CdS/Ehe1bS7pjq5Y1B0+8VO LpEilgind89SzZKFYbSuPpOvdjAr3RejDAxvejRx6ZmfU5f+seWqjMbbArt9fgvLrH5u VIi6MJ8Eece+DJ0vZquVDkEU6XX131ME3J4wWi4FXqXoJYFmiYFUTl5MOYDL2bISl38o 8yDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YYzoacsZMoWFZstDTYaMwcaR8lS9+roWWLsiPfEpSnk=; b=uxhxgbQ+cRRDNsctrg1M5SJO2TnoDBnqNAdXB9RIL83GzSMb44uGZ78pq7nHmAIJ8s yxscWE6aDpn6KPfayel2TV80max1qSOV9ifzRCGfdrZlqEI4E1XcjdcxZCJnXG5iygvO Lov4XTVMoNqZumErUjBnUosOIhiewUPrLDe8DQKFXd2ZE3IbSm//4XCXBzpsDInkzCdI C5vH2XiQR+U90S0rUJPfwfYCzoXqdOFqaP53wnz9i+U64TBl+SBT0MXL5quqUYP5TxVG mAtkdFG4XhRbsb0Mfij6bv/SMtQJRcGI75YiVJP1qlVLxRFIHOfaZBwSnjtNnjY8OAwX JSCg== X-Gm-Message-State: AJIora91kNJUP1wXEuVF2AivFRR3ldyHPWFALUYd9tB5YkCm7m3K7dqt WItkyf6W1COLnTGBiotQJAQ= X-Google-Smtp-Source: AGRyM1sttkl1O/1N7usBItncy6DZS9ukz2ekFShxJ2xUrrGYNYHYHmSTZlR9vyWolD2P98D++QtOfA== X-Received: by 2002:a17:907:1def:b0:72b:33e6:46d6 with SMTP id og47-20020a1709071def00b0072b33e646d6mr21444035ejc.414.1658061784949; Sun, 17 Jul 2022 05:43:04 -0700 (PDT) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id i22-20020aa7c716000000b0043a64eee322sm4520588edq.28.2022.07.17.05.43.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jul 2022 05:43:04 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Pavel Machek Cc: Rob Herring , Krzysztof Kozlowski , William Zhang , Anand Gore , Kursad Oney , Florian Fainelli , linux-leds@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH 3/3] leds: leds-bcm63138: get rid of LED_OFF Date: Sun, 17 Jul 2022 14:42:48 +0200 Message-Id: <20220717124248.13562-4-zajec5@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220717124248.13562-1-zajec5@gmail.com> References: <20220717124248.13562-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220717_054307_337030_0250A75C X-CRM114-Status: GOOD ( 12.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Rafał Miłecki The whole "enum led_brightness" is marked as obsolete. Replace it with a (non-)zero check. Reported-by: Pavel Machek Signed-off-by: Rafał Miłecki --- drivers/leds/blink/leds-bcm63138.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/leds/blink/leds-bcm63138.c b/drivers/leds/blink/leds-bcm63138.c index c083cb1332cb..2cf2761e4914 100644 --- a/drivers/leds/blink/leds-bcm63138.c +++ b/drivers/leds/blink/leds-bcm63138.c @@ -113,8 +113,7 @@ static void bcm63138_leds_enable_led(struct bcm63138_leds *leds, { u32 bit = BIT(led->pin); - bcm63138_leds_update_bits(leds, BCM63138_SW_DATA, bit, - value == LED_OFF ? 0 : bit); + bcm63138_leds_update_bits(leds, BCM63138_SW_DATA, bit, value ? bit : 0); } /*