aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/atmel-rng.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/hw_random/atmel-rng.c')
-rw-r--r--drivers/char/hw_random/atmel-rng.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/hw_random/atmel-rng.c b/drivers/char/hw_random/atmel-rng.c
index 7c73d4aca36b..bf9fc6b79328 100644
--- a/drivers/char/hw_random/atmel-rng.c
+++ b/drivers/char/hw_random/atmel-rng.c
@@ -108,8 +108,6 @@ static int atmel_trng_remove(struct platform_device *pdev)
108 clk_disable(trng->clk); 108 clk_disable(trng->clk);
109 clk_put(trng->clk); 109 clk_put(trng->clk);
110 110
111 platform_set_drvdata(pdev, NULL);
112
113 return 0; 111 return 0;
114} 112}
115 113