hwrng: xiphera - removed unnneded platform_set_drvdata()
authorAndrei Coardos <aboutphysycs@gmail.com>
Mon, 28 Aug 2023 10:29:43 +0000 (13:29 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Sep 2023 10:29:45 +0000 (18:29 +0800)
commit3cf755995e49df0cfac9377970c4c507b4a18ca4
treed881708adf0a9754810dbc5a7f8ce72fccfdc5e5
parent4ff6244696eed0f08398ca500758c85d4b935094
hwrng: xiphera - removed unnneded 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: Alexandru Ardelean <alex@shruggie.ro>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/xiphera-trng.c