backlight: Remove .owner field for drivers using module_platform_driver
This patch removes the superflous .owner field for drivers which use the module_platform_driver or platform_driver_register api, as this is overriden in __platform_driver_register. Signed-off-by: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
这个提交包含在:
@@ -265,7 +265,6 @@ static int pm860x_backlight_probe(struct platform_device *pdev)
|
||||
static struct platform_driver pm860x_backlight_driver = {
|
||||
.driver = {
|
||||
.name = "88pm860x-backlight",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = pm860x_backlight_probe,
|
||||
};
|
||||
|
在新工单中引用
屏蔽一个用户