summaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/pwm_bl.c
diff options
context:
space:
mode:
authorPeter Griffin <peter.griffin@linaro.org>2014-08-13 13:38:38 +0100
committerLee Jones <lee.jones@linaro.org>2014-08-28 14:09:48 +0100
commit6728f2b109392484d38ac9e365496ac5fa1071f1 (patch)
tree990203fd6546bcb540f6349d6457f45febe11f66 /drivers/video/backlight/pwm_bl.c
parent7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff)
downloadlinux-stable-6728f2b109392484d38ac9e365496ac5fa1071f1.tar.gz
linux-stable-6728f2b109392484d38ac9e365496ac5fa1071f1.tar.bz2
linux-stable-6728f2b109392484d38ac9e365496ac5fa1071f1.zip
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>
Diffstat (limited to 'drivers/video/backlight/pwm_bl.c')
-rw-r--r--drivers/video/backlight/pwm_bl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/backlight/pwm_bl.c b/drivers/video/backlight/pwm_bl.c
index d7a3d13e72ec..20963ed5077d 100644
--- a/drivers/video/backlight/pwm_bl.c
+++ b/drivers/video/backlight/pwm_bl.c
@@ -389,7 +389,6 @@ static const struct dev_pm_ops pwm_backlight_pm_ops = {
static struct platform_driver pwm_backlight_driver = {
.driver = {
.name = "pwm-backlight",
- .owner = THIS_MODULE,
.pm = &pwm_backlight_pm_ops,
.of_match_table = of_match_ptr(pwm_backlight_of_match),
},