summaryrefslogtreecommitdiff
path: root/drivers/char/hw_random/pasemi-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/pasemi-rng.c
parent06861ab52b4c355d65c8a72aa3817261158cc409 (diff)
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/pasemi-rng.c')
-rw-r--r--drivers/char/hw_random/pasemi-rng.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/hw_random/pasemi-rng.c b/drivers/char/hw_random/pasemi-rng.c
index c0347d1dded0..3eb7bdd7f93b 100644
--- a/drivers/char/hw_random/pasemi-rng.c
+++ b/drivers/char/hw_random/pasemi-rng.c
@@ -142,7 +142,6 @@ static struct of_device_id rng_match[] = {
static struct platform_driver rng_driver = {
.driver = {
.name = "pasemi-rng",
- .owner = THIS_MODULE,
.of_match_table = rng_match,
},
.probe = rng_probe,