impi:Remove unneeded setting of module owner to THIS_MODULE in the platform structure...
authorNicholas Krause <xerofoify@gmail.com>
Sat, 9 May 2015 19:32:28 +0000 (15:32 -0400)
committerCorey Minyard <cminyard@mvista.com>
Thu, 3 Sep 2015 20:02:24 +0000 (15:02 -0500)
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>
drivers/char/ipmi/ipmi_powernv.c

index 62c0c634280f2d5c95eff337c44fbc5e37028626..6e658aa114f19da873b5d201d6c131b7350311cd 100644 (file)
@@ -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,