summaryrefslogtreecommitdiff
path: root/drivers/char/hw_random/msm-rng.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:20 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:20 +0400
commiteff54802fe981a378555aebd86af0d11e83899ff (patch)
tree42bf305ca5bf70db91effbc73939c5731b44f328 /drivers/char/hw_random/msm-rng.c
parent06861ab52b4c355d65c8a72aa3817261158cc409 (diff)
downloadlinux-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/msm-rng.c')
-rw-r--r--drivers/char/hw_random/msm-rng.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/hw_random/msm-rng.c b/drivers/char/hw_random/msm-rng.c
index 148521e51dc6..cea1c703d62f 100644
--- a/drivers/char/hw_random/msm-rng.c
+++ b/drivers/char/hw_random/msm-rng.c
@@ -185,7 +185,6 @@ static struct platform_driver msm_rng_driver = {
.remove = msm_rng_remove,
.driver = {
.name = KBUILD_MODNAME,
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(msm_rng_of_match),
}
};