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:
@@ -151,7 +151,6 @@ static struct of_device_id gpio_backlight_of_match[] = {
|
||||
static struct platform_driver gpio_backlight_driver = {
|
||||
.driver = {
|
||||
.name = "gpio-backlight",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(gpio_backlight_of_match),
|
||||
},
|
||||
.probe = gpio_backlight_probe,
|
||||
|
Reference in New Issue
Block a user