diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 18:20:20 +0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 18:20:20 +0400 |
commit | eff54802fe981a378555aebd86af0d11e83899ff (patch) | |
tree | 42bf305ca5bf70db91effbc73939c5731b44f328 /drivers/char/hw_random/n2-drv.c | |
parent | 06861ab52b4c355d65c8a72aa3817261158cc409 (diff) | |
download | linux-eff54802fe981a378555aebd86af0d11e83899ff.tar.xz |
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); static struct platform_driver n2rng_driver = { .driver = { .name = "n2rng", - .owner = THIS_MODULE, .of_match_table = n2rng_match, }, .probe = n2rng_probe, |