summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/mxc-rnga.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/mxc-rnga.c
parentchar: drop owner assignment from platform_drivers (diff)
downloadlinux-eff54802fe981a378555aebd86af0d11e83899ff.tar.xz
linux-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/mxc-rnga.c')
-rw-r--r--drivers/char/hw_random/mxc-rnga.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/hw_random/mxc-rnga.c b/drivers/char/hw_random/mxc-rnga.c
index 6a86b6f56af2..6cbb72ec6013 100644
--- a/drivers/char/hw_random/mxc-rnga.c
+++ b/drivers/char/hw_random/mxc-rnga.c
@@ -206,7 +206,6 @@ static int __exit mxc_rnga_remove(struct platform_device *pdev)
static struct platform_driver mxc_rnga_driver = {
.driver = {
.name = "mxc_rnga",
- .owner = THIS_MODULE,
},
.remove = __exit_p(mxc_rnga_remove),
};