[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZQQz4eDvCjVCePY/@gondor.apana.org.au>
Date: Fri, 15 Sep 2023 18:37:21 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Andrei Coardos <aboutphysycs@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-crypto@...r.kernel.org,
alex@...uggie.ro, olivia@...enic.com
Subject: Re: [PATCH] char: hw_random: hisi-rng: removed unneeded call to
platform_set_drvdata()
On Wed, Aug 23, 2023 at 02:21:39PM +0300, Andrei Coardos wrote:
> This function call was found to be unnecessary as there is no equivalent
> platform_get_drvdata() call to access the private data of the driver. Also,
> the private data is defined in this driver, so there is no risk of it being
> accessed outside of this driver file.
>
> Signed-off-by: Andrei Coardos <aboutphysycs@...il.com>
> ---
> drivers/char/hw_random/hisi-rng.c | 2 --
> 1 file changed, 2 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