hwrng: mpfs - removed unneeded call to platform_set_drvdata()
authorAndrei Coardos <aboutphysycs@gmail.com>
Mon, 28 Aug 2023 10:17:57 +0000 (13:17 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Sep 2023 10:29:45 +0000 (18:29 +0800)
commitc7e2c4b37e6d54db92a7e74f7e4c015be33601a3
tree378816a930dc1c0183ea18d40448afd1c4c84739
parent0a596b0682a7ce37e26c36629816f105c6459d06
hwrng: mpfs - 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>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Alexandru Ardelean <alex@shruggie.ro>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/mpfs-rng.c