summaryrefslogtreecommitdiff
path: root/drivers/char/hw_random/xiphera-trng.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/hw_random/xiphera-trng.c')
-rw-r--r--drivers/char/hw_random/xiphera-trng.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/hw_random/xiphera-trng.c b/drivers/char/hw_random/xiphera-trng.c
index 2c586d1fe8a9..4af64f76c8d6 100644
--- a/drivers/char/hw_random/xiphera-trng.c
+++ b/drivers/char/hw_random/xiphera-trng.c
@@ -121,8 +121,6 @@ static int xiphera_trng_probe(struct platform_device *pdev)
return ret;
}
- platform_set_drvdata(pdev, trng);
-
return 0;
}