diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:43 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:43 -0400 |
commit | 81902d5f658f5c8c0fbdff7c598fe24d4d521c05 (patch) | |
tree | 243127b57aa32d589c189a513a2b5859e046a770 /drivers/leds/leds-lm3533.c | |
parent | b79d4b7717b1355f3215278dc5942f42afb00a1b (diff) |
leds: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/leds/leds-lm3533.c')
-rw-r--r-- | drivers/leds/leds-lm3533.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/leds/leds-lm3533.c b/drivers/leds/leds-lm3533.c index cbf61a40137d..6e2e02035dd7 100644 --- a/drivers/leds/leds-lm3533.c +++ b/drivers/leds/leds-lm3533.c | |||
@@ -766,7 +766,6 @@ static void lm3533_led_shutdown(struct platform_device *pdev) | |||
766 | static struct platform_driver lm3533_led_driver = { | 766 | static struct platform_driver lm3533_led_driver = { |
767 | .driver = { | 767 | .driver = { |
768 | .name = "lm3533-leds", | 768 | .name = "lm3533-leds", |
769 | .owner = THIS_MODULE, | ||
770 | }, | 769 | }, |
771 | .probe = lm3533_led_probe, | 770 | .probe = lm3533_led_probe, |
772 | .remove = lm3533_led_remove, | 771 | .remove = lm3533_led_remove, |