Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp1311399rdf; Sat, 4 Nov 2023 15:27:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGYM/q49CaBq/E7aUjvMLLvV1gFQe/Qq4zV9m49q9YwkbmlaiwT+GPG3nbs4ZdFGBMRx4og X-Received: by 2002:a05:6a00:1390:b0:6c3:468c:6caa with SMTP id t16-20020a056a00139000b006c3468c6caamr8509673pfg.6.1699136864841; Sat, 04 Nov 2023 15:27:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699136864; cv=none; d=google.com; s=arc-20160816; b=Id7YdFIZOOgw8/HJZZisbrFKDpLzTYhIMLWcU0+O01tLuhyEXPPugWNXD5F1Lwc4hk ntHgAbdysyupC1O6IolPD6k4t6iSl/6bwPotJzGGn3KsGIAUw395/h2w5hnMnFRfnZ+o P72uSCzdNJKVPJZE2ZWmfbEdgnOxP61Z/VTlSS3jWfmm+5pxPSGARAziXOvUjynAwSy8 XmItDARktyqWQsu0hPj/R64sxf7rfdcz32EiFctHg60xpqKKWLcrsLO9jOOUba4FonSl GnpX44vmAHOot7o1aqSBXaLq8goUTa0apOP0EUouA+V/spkj0XLS+RVcwnrvAGAuoEvk Xgdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=AzIrycxZG1tOQv2mvfB/UubZm3MyTqIZcEqXJO3t4Ec=; fh=NIkUmD20tf8Q1TwvVg7Fgl05XwBr7RSQ0CFcEyIRH4c=; b=KutvuhVaO2N6CRdXhQCmJ9P0eUyf4V7xZYAHHIWh8OXZjPvUqPGd0UbkgdUMxVGdZJ voEMhWNm5Lj3nlnlvqK+c+lDpvnFDEqGUCUmEsPWvWgch+MW/6SpIIPCAB7f7MDHk9D6 cQOex+MMC5yZosn7v2+Nd+SyNLp+5ZNXFuNC++f3kgOMCAtEbBtEovhgIGhy7RTTW4E8 5R8wmachcfVBbWfTZFSa9LLJRV10nKjl/SkLc3Gw/R78tx+0EzgxCPSu6cA/JZQXPC+D z99iZhnz9K8rLY+NPsO3G4q8XOgjj3bWLf51SgZ/0CZyZmJsuw082gujQDtB3nBDedBG Y8ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CJBFig9G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id z16-20020aa78890000000b00690fe3ec830si4734180pfe.55.2023.11.04.15.27.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Nov 2023 15:27:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CJBFig9G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 6C3A580A5F48; Sat, 4 Nov 2023 15:27:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229578AbjKDW1P (ORCPT + 99 others); Sat, 4 Nov 2023 18:27:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231459AbjKDW1M (ORCPT ); Sat, 4 Nov 2023 18:27:12 -0400 Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC0E5D7D for ; Sat, 4 Nov 2023 15:27:09 -0700 (PDT) Received: by mail-yb1-xb2e.google.com with SMTP id 3f1490d57ef6-d9ac3b4f42cso3779429276.0 for ; Sat, 04 Nov 2023 15:27:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699136829; x=1699741629; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=AzIrycxZG1tOQv2mvfB/UubZm3MyTqIZcEqXJO3t4Ec=; b=CJBFig9GD0ALEp1NpOLTmxfnht2V3/fxUel6BJNHeoib7U0tlNoVVvWL3kX4AZ2JJ1 1t+b4duQGagjlO0IpcTjne11GDRUZ9HOKzsBQBtwekP6wG7XN+Mlt2Ji8eyaEQgjSipk DFdCHHJHJBEX/cz66+Q2a3TIzVesQBH84Tql/JrK2bVIhYDURdo7pIi7WlWV8Rdg5fBR ICi09XkjlNoSFzND/J0GKTj449hBANB+9Wrsz1pszugHM/KWO35NmAFQTINXrwU0G+tk T2Hk4UOOo9TIDm1JPs9C4jr6iWZ2HnZCZA+ca4YrmT59XGlDCaAA+3EDTMKbei1V7lMo OPcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699136829; x=1699741629; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AzIrycxZG1tOQv2mvfB/UubZm3MyTqIZcEqXJO3t4Ec=; b=IEwALY2q2FuP4fiV7XYK/I9USUhX9RdFMhXGR+YXXvMHN4aRrotqhcsXVsM4fB6sEB yw7SDjQhdfssFMT3ocOHBcP1u3vCjaNLJdteDz1lDLBVWycMESQNZEfcOpXnz54dIwUs iTuzYo+4+iwHNVza0od+7n46OzUWFVSq/5wj/mbNku59O6D5vXZi695w81qYqPaAQKcs FyWwFm8AHTVkNpyUw/gLWuxmvan4AqRdaAFQYv5d7m6WBNJd4tjIgcvkv04tznqKeV1W czipbV7kvTYBpzb1AZiSXkrs9DWwaBjUsiK6HY6gMCTEn5vv/okZNcBCkgy0EsEiFw1r +F8g== X-Gm-Message-State: AOJu0YwrDS6IIRXEgxegXlWjDY9ZeQKNooMIWkc10SC461tPxbKQ5Ji0 KLkgSr9JSQ7d0CqaOT+sfyQjpClgB1JjcsQis5Bqgg== X-Received: by 2002:a25:7689:0:b0:da0:3a37:61d5 with SMTP id r131-20020a257689000000b00da03a3761d5mr5905636ybc.4.1699136829002; Sat, 04 Nov 2023 15:27:09 -0700 (PDT) MIME-Version: 1.0 References: <20231103195310.948327-1-andriy.shevchenko@linux.intel.com> <20231103195310.948327-4-andriy.shevchenko@linux.intel.com> In-Reply-To: <20231103195310.948327-4-andriy.shevchenko@linux.intel.com> From: Linus Walleij Date: Sat, 4 Nov 2023 23:26:58 +0100 Message-ID: Subject: Re: [PATCH v1 4/4] leds: trigger: gpio: Convert to DEVICE_ATTR_RW() To: Andy Shevchenko Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Pavel Machek , Lee Jones Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sat, 04 Nov 2023 15:27:17 -0700 (PDT) On Fri, Nov 3, 2023 at 9:03=E2=80=AFPM Andy Shevchenko wrote: > Instead of custom wrapper, use DEVICE_ATTR_RW() directly. > > Signed-off-by: Andy Shevchenko Reviewed-by: Linus Walleij Yours, Linus Walleij