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=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 7A033C48BE5 for ; Wed, 16 Jun 2021 10:37:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 49BBB61001 for ; Wed, 16 Jun 2021 10:37:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232296AbhFPKjL (ORCPT ); Wed, 16 Jun 2021 06:39:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231922AbhFPKjL (ORCPT ); Wed, 16 Jun 2021 06:39:11 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3ECDBC061574 for ; Wed, 16 Jun 2021 03:37:05 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ltSuj-0000mm-Io; Wed, 16 Jun 2021 12:36:53 +0200 Received: from pengutronix.de (unknown [IPv6:2a03:f580:87bc:d400:27:4a54:dbae:b593]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id E9D1B63D201; Wed, 16 Jun 2021 10:36:49 +0000 (UTC) Date: Wed, 16 Jun 2021 12:36:49 +0200 From: Marc Kleine-Budde To: Zhen Lei Cc: Wolfgang Grandegger , "David S . Miller" , Jakub Kicinski , Nicolas Ferre , Alexandre Belloni , Ludovic Desroches , linux-can , netdev , linux-arm-kernel , linux-kernel Subject: Re: [PATCH 1/1] can: at91_can: use DEVICE_ATTR_RW() helper macro Message-ID: <20210616103649.jruqlbvmlfdcnean@pengutronix.de> References: <20210603100233.11877-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xwqrfzab6iau3iqs" Content-Disposition: inline In-Reply-To: <20210603100233.11877-1-thunder.leizhen@huawei.com> X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-can@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-can@vger.kernel.org --xwqrfzab6iau3iqs Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 03.06.2021 18:02:33, Zhen Lei wrote: > Use DEVICE_ATTR_RW() helper macro instead of plain DEVICE_ATTR(), which > makes the code a bit shorter and easier to read. Applied all 3 (at91, esd_usb2 and janz-ican3) to linux-can-next/testing. regards, Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --xwqrfzab6iau3iqs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEK3kIWJt9yTYMP3ehqclaivrt76kFAmDJ1D4ACgkQqclaivrt 76mSVwf+IsQQ73cBL6el5+JaZ1HMA1Yjuudm/D5qR0Ww0wYosFVXIdtMfzP48zjr qNfFcD1X6GgrBTs9OsDUdLx0iFCcE+cFhkwJzMAwK+7VV5kOO64o1P+HQFfXpCmY NOKfB5kxffLL6U58qns8WJePqpUKUzuyOtsp3slssC8hGReOoB8ANQ3ZqUigiRAX 7TSU1XHdNaLLVJHVAEikHbNoAq6txGKg+8S+AIG8g/WGx5pROWFqHxQRYxoNtU4S PjnxATtO+FksYqySmPS79TLmVCdBOWOsUPg4KloeD+SaKinGVr413iaz7ZhtElCJ fne21EyEFCm52Ef8g8VtOy05F1NwlA== =lasF -----END PGP SIGNATURE----- --xwqrfzab6iau3iqs-- 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=-3.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 1EFE1C48BE5 for ; Wed, 16 Jun 2021 10:38:50 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id D84B161245 for ; Wed, 16 Jun 2021 10:38:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D84B161245 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=mliQNPyFWktEX+hAIBpPEI3r5lACUpE1C1xSm7V/LsY=; b=zmgN879GHsD9Jd09KfPHjVGzuh po+pkEf0SW2M0LctvJOu+VMBPQgwQ9IG4QCZudk/7JH4F29h50MmGL1bWXfXvND1QQHEIkCniHdVG eKzyZRKL0/gJ3efDbWeZy9SVF2YpQwPJhYRZ7h/6z9omQEgqkGD2sh2CdMYfR/pK/eT+nSqh66txT Q7KoX9kNP+/wRSl74hSdRxYlymF5G9KaHZZ4GHrXqAPr+8TMfcH89d7p5/A06oJP4dv71IUF/XcYB c8m+uF8W0+yNPIe+59gpKrPy1M4eXEnK42BnI8SeZgTnoI+v4fLa2W4FftuCDcFZ31cVSURJYPdOm +9aH11TQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltSuw-005qBK-26; Wed, 16 Jun 2021 10:37:06 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltSus-005qA2-AP for linux-arm-kernel@lists.infradead.org; Wed, 16 Jun 2021 10:37:03 +0000 Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ltSuj-0000mm-Io; Wed, 16 Jun 2021 12:36:53 +0200 Received: from pengutronix.de (unknown [IPv6:2a03:f580:87bc:d400:27:4a54:dbae:b593]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id E9D1B63D201; Wed, 16 Jun 2021 10:36:49 +0000 (UTC) Date: Wed, 16 Jun 2021 12:36:49 +0200 From: Marc Kleine-Budde To: Zhen Lei Subject: Re: [PATCH 1/1] can: at91_can: use DEVICE_ATTR_RW() helper macro Message-ID: <20210616103649.jruqlbvmlfdcnean@pengutronix.de> References: <20210603100233.11877-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 In-Reply-To: <20210603100233.11877-1-thunder.leizhen@huawei.com> X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210616_033702_405186_5AE7D354 X-CRM114-Status: GOOD ( 12.08 ) 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: , Cc: Alexandre Belloni , linux-kernel , netdev , linux-can , Ludovic Desroches , linux-arm-kernel , Jakub Kicinski , "David S . Miller" , Wolfgang Grandegger Content-Type: multipart/mixed; boundary="===============5072143405173538211==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============5072143405173538211== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xwqrfzab6iau3iqs" Content-Disposition: inline --xwqrfzab6iau3iqs Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 03.06.2021 18:02:33, Zhen Lei wrote: > Use DEVICE_ATTR_RW() helper macro instead of plain DEVICE_ATTR(), which > makes the code a bit shorter and easier to read. Applied all 3 (at91, esd_usb2 and janz-ican3) to linux-can-next/testing. regards, Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --xwqrfzab6iau3iqs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEK3kIWJt9yTYMP3ehqclaivrt76kFAmDJ1D4ACgkQqclaivrt 76mSVwf+IsQQ73cBL6el5+JaZ1HMA1Yjuudm/D5qR0Ww0wYosFVXIdtMfzP48zjr qNfFcD1X6GgrBTs9OsDUdLx0iFCcE+cFhkwJzMAwK+7VV5kOO64o1P+HQFfXpCmY NOKfB5kxffLL6U58qns8WJePqpUKUzuyOtsp3slssC8hGReOoB8ANQ3ZqUigiRAX 7TSU1XHdNaLLVJHVAEikHbNoAq6txGKg+8S+AIG8g/WGx5pROWFqHxQRYxoNtU4S PjnxATtO+FksYqySmPS79TLmVCdBOWOsUPg4KloeD+SaKinGVr413iaz7ZhtElCJ fne21EyEFCm52Ef8g8VtOy05F1NwlA== =lasF -----END PGP SIGNATURE----- --xwqrfzab6iau3iqs-- --===============5072143405173538211== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============5072143405173538211==--