summaryrefslogtreecommitdiff
path: root/drivers/char/ipmi/ipmi_powernv.c
diff options
context:
space:
mode:
authorNicholas Krause <xerofoify@gmail.com>2015-05-09 15:32:28 -0400
committerCorey Minyard <cminyard@mvista.com>2015-09-03 15:02:24 -0500
commit881c585ef79addb2440a7f8d59bda5640d0ff623 (patch)
treee750eaef65bb2c92b30359789b4819697ee06bbc /drivers/char/ipmi/ipmi_powernv.c
parentb2234ee9fc059c17e811a365383e3412a2f50bed (diff)
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/ipmi/ipmi_powernv.c')
-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,