diff options
author | Peter Griffin <peter.griffin@linaro.org> | 2014-08-13 14:38:38 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-08-28 15:09:48 +0200 |
commit | 6728f2b109392484d38ac9e365496ac5fa1071f1 (patch) | |
tree | 990203fd6546bcb540f6349d6457f45febe11f66 /drivers/video/backlight/max8925_bl.c | |
parent | Linux 3.17-rc1 (diff) | |
download | linux-6728f2b109392484d38ac9e365496ac5fa1071f1.tar.xz linux-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/max8925_bl.c')
-rw-r--r-- | drivers/video/backlight/max8925_bl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/backlight/max8925_bl.c b/drivers/video/backlight/max8925_bl.c index 66fa08c920d2..7b738d60ecc2 100644 --- a/drivers/video/backlight/max8925_bl.c +++ b/drivers/video/backlight/max8925_bl.c @@ -197,7 +197,6 @@ static int max8925_backlight_probe(struct platform_device *pdev) static struct platform_driver max8925_backlight_driver = { .driver = { .name = "max8925-backlight", - .owner = THIS_MODULE, }, .probe = max8925_backlight_probe, }; |