summaryrefslogtreecommitdiffstats
path: root/drivers/char
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
commit394b3d078dfe0e7fbd4507cb2382de6736f70cb2 (patch)
tree17131cc262b3efdbed6ee697d33d524406025c92 /drivers/char
parentchar: hw_random: drop owner assignment from platform_drivers (diff)
downloadlinux-394b3d078dfe0e7fbd4507cb2382de6736f70cb2.tar.xz
linux-394b3d078dfe0e7fbd4507cb2382de6736f70cb2.zip
char: ipmi: 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')
-rw-r--r--drivers/char/ipmi/ipmi_si_intf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
index 5c4e1f625bbb..84eb2db85534 100644
--- a/drivers/char/ipmi/ipmi_si_intf.c
+++ b/drivers/char/ipmi/ipmi_si_intf.c
@@ -2751,7 +2751,6 @@ static struct of_device_id ipmi_match[] =
static struct platform_driver ipmi_driver = {
.driver = {
.name = DEVICE_NAME,
- .owner = THIS_MODULE,
.of_match_table = ipmi_match,
},
.probe = ipmi_probe,