hwrng: xgene - removed unneeded call to platform_set_drvdata()
authorAndrei Coardos <aboutphysycs@gmail.com>
Mon, 28 Aug 2023 10:23:29 +0000 (13:23 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Sep 2023 10:29:45 +0000 (18:29 +0800)
commit4ff6244696eed0f08398ca500758c85d4b935094
treec27999466d669366c4077d1cf8a61bc10b575456
parentc7e2c4b37e6d54db92a7e74f7e4c015be33601a3
hwrng: xgene - 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/xgene-rng.c