Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6728f2b1 authored by Peter Griffin's avatar Peter Griffin Committed by Lee Jones
Browse files

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: default avatarPeter Griffin <peter.griffin@linaro.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 7d1311b9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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,
};
+0 −1
Original line number Diff line number Diff line
@@ -211,7 +211,6 @@ static int aat2870_bl_remove(struct platform_device *pdev)
static struct platform_driver aat2870_bl_driver = {
	.driver = {
		.name	= "aat2870-backlight",
		.owner	= THIS_MODULE,
	},
	.probe		= aat2870_bl_probe,
	.remove		= aat2870_bl_remove,
+0 −1
Original line number Diff line number Diff line
@@ -374,7 +374,6 @@ static SIMPLE_DEV_PM_OPS(adp5520_bl_pm_ops, adp5520_bl_suspend,
static struct platform_driver adp5520_bl_driver = {
	.driver		= {
		.name	= "adp5520-backlight",
		.owner	= THIS_MODULE,
		.pm	= &adp5520_bl_pm_ops,
	},
	.probe		= adp5520_bl_probe,
+0 −1
Original line number Diff line number Diff line
@@ -467,7 +467,6 @@ static int as3711_backlight_probe(struct platform_device *pdev)
static struct platform_driver as3711_backlight_driver = {
	.driver		= {
		.name	= "as3711-backlight",
		.owner	= THIS_MODULE,
	},
	.probe		= as3711_backlight_probe,
};
+0 −1
Original line number Diff line number Diff line
@@ -162,7 +162,6 @@ static int da903x_backlight_probe(struct platform_device *pdev)
static struct platform_driver da903x_backlight_driver = {
	.driver		= {
		.name	= "da903x-backlight",
		.owner	= THIS_MODULE,
	},
	.probe		= da903x_backlight_probe,
};
Loading