diff options
author | Martin Kaiser <martin@kaiser.cx> | 2023-07-16 17:11:12 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-07-22 04:59:39 +0300 |
commit | dd105461ad15ea930d88aec1e4fcfc1f3186da43 (patch) | |
tree | 0cbb28caba3c2e462f227dd0529bee4abbe44954 /drivers/char/hw_random | |
parent | 28b776098379fb698702b972df159aeca30aa6e3 (diff) | |
download | linux-dd105461ad15ea930d88aec1e4fcfc1f3186da43.tar.xz |
hwrng: arm-smccc-trng - don't set drvdata
Don't set drvdata, there's nobody who reads it.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random')
-rw-r--r-- | drivers/char/hw_random/arm_smccc_trng.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/hw_random/arm_smccc_trng.c b/drivers/char/hw_random/arm_smccc_trng.c index e34c3ea692b6..7e954341b09f 100644 --- a/drivers/char/hw_random/arm_smccc_trng.c +++ b/drivers/char/hw_random/arm_smccc_trng.c @@ -105,8 +105,6 @@ static int smccc_trng_probe(struct platform_device *pdev) trng->name = "smccc_trng"; trng->read = smccc_trng_read; - platform_set_drvdata(pdev, trng); - return devm_hwrng_register(&pdev->dev, trng); } |