summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/atmel-rng.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:20 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:20 +0200
commiteff54802fe981a378555aebd86af0d11e83899ff (patch)
tree42bf305ca5bf70db91effbc73939c5731b44f328 /drivers/char/hw_random/atmel-rng.c
parent06861ab52b4c355d65c8a72aa3817261158cc409 (diff)
downloadlinux-stable-eff54802fe981a378555aebd86af0d11e83899ff.tar.gz
linux-stable-eff54802fe981a378555aebd86af0d11e83899ff.tar.bz2
linux-stable-eff54802fe981a378555aebd86af0d11e83899ff.zip
char: hw_random: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/char/hw_random/atmel-rng.c')
-rw-r--r--drivers/char/hw_random/atmel-rng.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/hw_random/atmel-rng.c b/drivers/char/hw_random/atmel-rng.c
index 851bc7e20ad2..25a4de21feac 100644
--- a/drivers/char/hw_random/atmel-rng.c
+++ b/drivers/char/hw_random/atmel-rng.c
@@ -128,7 +128,6 @@ static struct platform_driver atmel_trng_driver = {
.remove = atmel_trng_remove,
.driver = {
.name = "atmel-trng",
- .owner = THIS_MODULE,
#ifdef CONFIG_PM
.pm = &atmel_trng_pm_ops,
#endif /* CONFIG_PM */