summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/hisi-rng.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/hw_random/hisi-rng.c')
-rw-r--r--drivers/char/hw_random/hisi-rng.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/hw_random/hisi-rng.c b/drivers/char/hw_random/hisi-rng.c
index 96438f85ca..b6f27566e0 100644
--- a/drivers/char/hw_random/hisi-rng.c
+++ b/drivers/char/hw_random/hisi-rng.c
@@ -79,8 +79,6 @@ static int hisi_rng_probe(struct platform_device *pdev)
if (!rng)
return -ENOMEM;
- platform_set_drvdata(pdev, rng);
-
rng->base = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(rng->base))
return PTR_ERR(rng->base);