diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:20 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:20 -0400 |
commit | eff54802fe981a378555aebd86af0d11e83899ff (patch) | |
tree | 42bf305ca5bf70db91effbc73939c5731b44f328 /drivers/char/hw_random/n2-drv.c | |
parent | 06861ab52b4c355d65c8a72aa3817261158cc409 (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/n2-drv.c')
-rw-r--r-- | drivers/char/hw_random/n2-drv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/hw_random/n2-drv.c b/drivers/char/hw_random/n2-drv.c index 292a5889f675..843d6f6aee7a 100644 --- a/drivers/char/hw_random/n2-drv.c +++ b/drivers/char/hw_random/n2-drv.c | |||
@@ -750,7 +750,6 @@ MODULE_DEVICE_TABLE(of, n2rng_match); | |||
750 | static struct platform_driver n2rng_driver = { | 750 | static struct platform_driver n2rng_driver = { |
751 | .driver = { | 751 | .driver = { |
752 | .name = "n2rng", | 752 | .name = "n2rng", |
753 | .owner = THIS_MODULE, | ||
754 | .of_match_table = n2rng_match, | 753 | .of_match_table = n2rng_match, |
755 | }, | 754 | }, |
756 | .probe = n2rng_probe, | 755 | .probe = n2rng_probe, |