浏览代码

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>
Nicholas Krause 10 年之前
父节点
当前提交
881c585ef7
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/char/ipmi/ipmi_powernv.c

+ 0 - 1
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 = {
 static struct platform_driver powernv_ipmi_driver = {
 	.driver = {
 	.driver = {
 		.name		= "ipmi-powernv",
 		.name		= "ipmi-powernv",
-		.owner		= THIS_MODULE,
 		.of_match_table	= ipmi_powernv_match,
 		.of_match_table	= ipmi_powernv_match,
 	},
 	},
 	.probe	= ipmi_powernv_probe,
 	.probe	= ipmi_powernv_probe,