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>
This commit is contained in:
@@ -148,7 +148,6 @@ MODULE_DEVICE_TABLE(of, platform_lcd_of_match);
|
||||
static struct platform_driver platform_lcd_driver = {
|
||||
.driver = {
|
||||
.name = "platform-lcd",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &platform_lcd_pm_ops,
|
||||
.of_match_table = of_match_ptr(platform_lcd_of_match),
|
||||
},
|
||||
|
Reference in New Issue
Block a user