From: Nicholas Krause Date: Sat, 9 May 2015 19:32:28 +0000 (-0400) Subject: impi:Remove unneeded setting of module owner to THIS_MODULE in the platform structure... X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=881c585ef79addb2440a7f8d59bda5640d0ff623;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Corey Minyard --- 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,