hwrng: hisi - removed unneeded call to platform_set_drvdata()
authorAndrei Coardos <aboutphysycs@gmail.com>
Wed, 23 Aug 2023 11:21:39 +0000 (14:21 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Sep 2023 10:29:44 +0000 (18:29 +0800)
commit9d2c1a985b1dda6fbb5c256862b8e80b92cf51e6
treea06579d2f9f08625834afd08fce573844673f118
parent75b2d50d0d7ffae34eefa5a31d8c6ae84496dfd0
hwrng: hisi - removed unneeded call to platform_set_drvdata()

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@gmail.com>
Reviewed-by: Martin Kaiser <martin@kaiser.cx>
Reviewed-by: Alexandru Ardelean <alex@shruggie.ro>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/hisi-rng.c