From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA956C2BBCF for ; Thu, 17 Dec 2020 20:52:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 770BA23A23 for ; Thu, 17 Dec 2020 20:52:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731491AbgLQUwZ (ORCPT ); Thu, 17 Dec 2020 15:52:25 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:44140 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725988AbgLQUwY (ORCPT ); Thu, 17 Dec 2020 15:52:24 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id C77711C0B7D; Thu, 17 Dec 2020 21:51:39 +0100 (CET) Date: Thu, 17 Dec 2020 21:51:39 +0100 From: Pavel Machek To: Dwaipayan Ray Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, lukas.bulwahn@gmail.com, linux-kernel-mentees@lists.linuxfoundation.org, dmurphy@ti.com Subject: Re: [PATCH v2] leds: Use DEVICE_ATTR_{RW, RO, WO} macros Message-ID: <20201217205139.GA27883@duo.ucw.cz> References: <20201214054205.5263-1-dwaipayanray1@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline In-Reply-To: <20201214054205.5263-1-dwaipayanray1@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > Instead of open coding DEVICE_ATTR() defines, use the > DEVICE_ATTR_RW(), DEVICE_ATTR_WO(), and DEVICE_ATTR_RO() > macros. >=20 > This required a few functions to be renamed, but the functionality > itself is unchanged. Thanks, applied. Pavel =09 --=20 http://www.livejournal.com/~pavelmachek --jI8keyz6grp/JLjh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCX9vE2wAKCRAw5/Bqldv6 8oczAKCz6icf73jdIi6aH6CPpLRzv7IIZgCeP4obrTCBsKSaLRrxZeFZ2+JH/vQ= =b7N8 -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh--