summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorNicholas Krause <xerofoify@gmail.com>2015-05-09 21:32:28 +0200
committerCorey Minyard <cminyard@mvista.com>2015-09-03 22:02:24 +0200
commit881c585ef79addb2440a7f8d59bda5640d0ff623 (patch)
treee750eaef65bb2c92b30359789b4819697ee06bbc /drivers/char
parentipmi: Add a comment in how messages are delivered from the lower layer (diff)
downloadlinux-881c585ef79addb2440a7f8d59bda5640d0ff623.tar.xz
linux-881c585ef79addb2440a7f8d59bda5640d0ff623.zip
impi:Remove unneeded setting of module owner to THIS_MODULE in the platform structure, powernv_ipmi_driver
This removes the no longer required setting of the module owner for the plaform structure,powernv_ipmi_driver to THIS_MODULE as the driver core for ipmi drivers will directly find and set the module owner for this driver. Signed-off-by: Nicholas Krause <xerofoify@gmail.com> Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/ipmi/ipmi_powernv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_powernv.c b/drivers/char/ipmi/ipmi_powernv.c
index 62c0c634280f..6e658aa114f1 100644
--- a/drivers/char/ipmi/ipmi_powernv.c
+++ b/drivers/char/ipmi/ipmi_powernv.c
@@ -307,7 +307,6 @@ static const struct of_device_id ipmi_powernv_match[] = {
static struct platform_driver powernv_ipmi_driver = {
.driver = {
.name = "ipmi-powernv",
- .owner = THIS_MODULE,
.of_match_table = ipmi_powernv_match,
},
.probe = ipmi_powernv_probe,