Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp310258rdb; Thu, 19 Oct 2023 05:26:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH1W23yhbVqmnXz/by6OMdR8GIrLN/IpYB1LddoWkeEnWxI/KmWCB4ih12Ys3/UNpn4NJRU X-Received: by 2002:a05:6a00:2d1a:b0:68e:2d59:b1f3 with SMTP id fa26-20020a056a002d1a00b0068e2d59b1f3mr1705601pfb.13.1697718395829; Thu, 19 Oct 2023 05:26:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697718395; cv=none; d=google.com; s=arc-20160816; b=s003I8wE557iO05YbUOfS+amm6k+/ALqr7IObMhIb39IU/N0DZWKJeaxGqHSumgqlw fZxeZ4VBJlQIG+wQQiRb5IWYmJREtjhPLdKEMe7NxzunOyC7d6UGJrMxCnn4HzEHrHsj 7AIdFP2A/YpfMXz62go5KXdvBf50J1ocrb1e2Kupt+UYCcTRKr6LuevvQuabPBYBpWyh mRgvQkmnPRBSogoPZvHqy0SrKXAOcY/qqXU4vUqBx5lhavgTEzyUyoZEMj9ID8HvVc34 cwg6N8VScpLQGflb7XLkndPFglbu556Uv43A/ieKX1nFphLW2Pw97ujlUY8EhwevPqqD XDHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=IXi0hgODLTx8+RxsBabXczGeFSw9+g+cXEPmr8mrd2Q=; fh=zsWu9p1859L1ZsLtoK+FIW7e6234WRXemuumc+Dmp4A=; b=or0DGXe7NtvYupgvDxhMMAIr4Qo5mck584nbl3lFHkqc1WLR2rQ9hVkCoZf6YEjPNb DoN9y/lxdor9wVQZiEYfiDQmu9KhWACaRYcGr7Ocy8jlc63dliMkdR3yr0Lx007jAbFO sam/8+O80UviRoRR97vUqGom2/70vRBryMxnl/phRqlxX/TyzauLCsWvi/1vP/k7u2/0 7G23706HNcRiDkuu1YQeS5n3254oew73ijLNjbXMt6baajKdShusXPz7p9gfZO46LFI9 +0CD99YtUqX4nQvkSrSAZgUgYopcJhwsME84TKwTFnIZXE4qD14pGJSDVXwunFfI15BE YQvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G1zT++TY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id a63-20020a639042000000b005ad35f5a7basi3501808pge.507.2023.10.19.05.26.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 05:26:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G1zT++TY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 3DF48812A63A; Thu, 19 Oct 2023 05:26:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345491AbjJSM0W (ORCPT + 99 others); Thu, 19 Oct 2023 08:26:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233195AbjJSM0V (ORCPT ); Thu, 19 Oct 2023 08:26:21 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB7EFBE; Thu, 19 Oct 2023 05:26:19 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7D5E2C433C7; Thu, 19 Oct 2023 12:26:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697718379; bh=NJeZagcb+M769VUrarpouaRWXr3bAXeFnWHPC5/oozQ=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=G1zT++TYgnLvoW5DalEc/anydR3UGgZGl63e3fsD23bkTlbymDZd6sPN9Pn0xM9k7 CcD/sYSpOmcFcT1FxSsxWONAznHLivKHcxD+E0OAxlCE5HPYQ4E2hxZywCkZ+Hp1Sb +9VPAzjRe7EwmtVOvSy4tXFvHKq/WdzdkpQocPRegEJSNxeO56txBosPAsWHk9MZ8l vGqASBsj1VVfYAk3O6ixovvaD5vVdRq9MzI8p3d9e5VkUSlmySDYUtizt/Te45pMZ/ hNUFWCUXHq+G7X3OR1QZrUcMT5srBF+7BaMToF1Bggia6SrnvHmPLIoD0r57sas8RQ ENJklHkPS9VdQ== From: Lee Jones To: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Andy Shevchenko Cc: Pavel Machek , Lee Jones In-Reply-To: <20231016161005.1471768-1-andriy.shevchenko@linux.intel.com> References: <20231016161005.1471768-1-andriy.shevchenko@linux.intel.com> Subject: Re: [PATCH v1 1/6] leds: gpio: Keep driver firmware interface agnostic Message-Id: <169771837822.2472592.6103041614974900310.b4-ty@kernel.org> Date: Thu, 19 Oct 2023 13:26:18 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.12.2 X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 19 Oct 2023 05:26:33 -0700 (PDT) On Mon, 16 Oct 2023 19:10:00 +0300, Andy Shevchenko wrote: > The of.h is used as a proxy to mod_devicetable, replace former by > latter. > > The commit 2d6180147e92 ("leds: gpio: Configure per-LED pin control") > added yet another unneeded OF APIs. Replace with direct use of fwnode. > > Altogether this makes driver agnostic to the firmware interface in use. > > [...] Applied, thanks! [1/6] leds: gpio: Keep driver firmware interface agnostic commit: 04262082e2c203e6834bf65c7a46e2eadf212c66 [2/6] leds: gpio: Utilise PTR_ERR_OR_ZERO() commit: 36d270892d4733439d3fd5b713ef07029aae1bf4 [3/6] leds: gpio: Refactor code to use devm_gpiod_get_index_optional() commit: 4c5f908c04fda867c8130087a628a1bccec3fb05 [4/6] leds: gpio: Move temporary variable for struct device to gpio_led_probe() commit: 087da384361247adeb894dcb38fbbec8d4d53790 [5/6] leds: gpio: Remove unneeded assignment commit: cdae3873bb328fbc690722b76b67f00213c92ade [6/6] leds: gpio: Update headers commit: 1f313de42c4ff9b590f00d747bab25adc0cb011c -- Lee Jones [李琼斯]