Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp826405rwd; Thu, 25 May 2023 04:41:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4LedBmn7abxQc+dIugJGzAlLxoBJNaI+Cw771aNu264JyjiA9lSDD1bKAu8CEgcBuIbttx X-Received: by 2002:a05:6a20:a115:b0:105:a24f:cff1 with SMTP id q21-20020a056a20a11500b00105a24fcff1mr19146674pzk.24.1685014906631; Thu, 25 May 2023 04:41:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685014906; cv=none; d=google.com; s=arc-20160816; b=ZqjI1uaA759nlq0gJhgqEgFmBeqvt74UDrY9QQtDCsktFNA5d1cKr8d3Lsps5VDDIB ruBnR3uRVVQFS3hFHPRZwAf+2/EYC9VB36KI2YTALlE4xbfew1jm/eXmn8iKlc/pvrEU fwbovnAivMZNO5lW+CorfTFJoS4AgxhG2LOMU7NZVjMGINEA+qZmBO/zO7cf3IAa92xf 8SFhqEvxNhoN8Y3j9AfRhrH83knTuvGdD7P69+tEyb1JOt+qAWl/ayartrUjr+40Bd+7 dExOUQ0lO5vMUJW8GV5O8A1GDYKdbCkiDgz2UeZv0bjn4TrN/goiu/dH5+AeHytX9TAj MFIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=4xK3oBMmYiWKkNEyqFKXBzZQPgqqrpS7mzOidsuo+6M=; b=Avp5o6IU1c54vG9W1xNdlKgECG+iPeWcQy+DarD8dx8SDlr1PaT3BYLXXOA0CwmfmJ JRrZ1prFluUWjNnV03uac7GYprC2lWqB0yibwGtUyKuDWiv2+Dj6rilFb52xQwmF0/Xt pyK/RgmA9fvmZ8t/BhCE/U9bsQNYdnBKuAErkM1clIazogniX8rpsYW6KiNKP0zv9cmR 6KCqBspk2rMtEgtSJ8CW9b6sj+9auFYCN4j9n5FA1OricWIuiGgYdC77IoKhZD6O2Rfz zMEyyEts2XgSJG0LzOqpGkrGUO+pVuohzGmqf+gZ1n/UV+PfnhigmMOTQskqAHuuNHFf exZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JlD8ees5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h62-20020a638341000000b0053b88b7dd54si771702pge.309.2023.05.25.04.41.34; Thu, 25 May 2023 04:41:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JlD8ees5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240756AbjEYL2c (ORCPT + 99 others); Thu, 25 May 2023 07:28:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229636AbjEYL2a (ORCPT ); Thu, 25 May 2023 07:28:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F4DEE7; Thu, 25 May 2023 04:28:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 36962644E8; Thu, 25 May 2023 11:28:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1A968C433D2; Thu, 25 May 2023 11:28:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685014108; bh=80WjExu69YZ2z4Yx+TkUK0wPnz4HeaoTG1bwDpjeRRA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JlD8ees5bAkKLqFjBq3iW6EmUYXa30dyvHZGzMelEuKFDt3HVxCS7ZhSpNAjfsNrO vvnfts2gv5AnkHr+gMbXj2yNp1brxD+qLu3jcIq5xt3Og8KApYozFl8UWN1oDLWi2+ D4R1yvBvWN+4Yb4KMgJ6hxDiJqv+cY0fht6hV62oPJaCxHNP+uIqwah6ySmb0MeN+Z xQxtzcCzQHOSBXrNDTbgViXxAUWA7DWQQKkPiAO/CIIDq9KoBaHuKX0FKRdlOVaX+r mllGzWqvSch7UE14Rt/J0r9+XZ+bvQO1gOfOEbgnaTVfmFud2OYhWOmOajqwwdsCRs xTXPRsLXo0Zjw== Date: Thu, 25 May 2023 12:28:23 +0100 From: Lee Jones To: Geert Uytterhoeven Cc: Thierry Reding , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Daniel Thompson , Jingoo Han , Linus Walleij , Bartosz Golaszewski , linux-pwm@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] backlight: pwm_bl: Remove unneeded checks for valid GPIOs Message-ID: <20230525112823.GB423913@google.com> References: <00be8237e0e2bc9b179177b5490f175d657261a2.1684856337.git.geert+renesas@glider.be> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <00be8237e0e2bc9b179177b5490f175d657261a2.1684856337.git.geert+renesas@glider.be> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 23 May 2023, Geert Uytterhoeven wrote: > All of gpiod_set_value_cansleep() and gpiod_direction_output() handle > NULL GPIO pointers just fine, so there is no need to check for that in > the caller. > > Signed-off-by: Geert Uytterhoeven > --- > drivers/video/backlight/pwm_bl.c | 9 +++------ > 1 file changed, 3 insertions(+), 6 deletions(-) Applied, thanks -- Lee Jones [李琼斯]