hwrng: bcm2835 - removed call to platform_set_drvdata()
authorAndrei Coardos <aboutphysycs@gmail.com>
Wed, 23 Aug 2023 11:15:55 +0000 (14:15 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Sep 2023 10:29:44 +0000 (18:29 +0800)
commit75b2d50d0d7ffae34eefa5a31d8c6ae84496dfd0
treee506b915c49a7b137bbe26c5fd0866b0aafef159
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d
hwrng: bcm2835 - removed 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/bcm2835-rng.c