[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210528072643.GI7392@gondor.apana.org.au>
Date: Fri, 28 May 2021 15:26:43 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: YueHaibing <yuehaibing@...wei.com>
Cc: mpm@...enic.com, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] hwrng: core - Use DEVICE_ATTR_<RW|RO> macro
On Thu, May 20, 2021 at 09:57:13PM +0800, YueHaibing wrote:
> Use DEVICE_ATTR_RW()/DEVICE_ATTR_RO() helper instead of
> plain DEVICE_ATTR, which makes the code a bit shorter and
> easier to read.
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> ---
> drivers/char/hw_random/core.c | 36 +++++++++++++++--------------------
> 1 file changed, 15 insertions(+), 21 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists