aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-lp8788.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 14:20:43 (GMT)
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 14:20:43 (GMT)
commit81902d5f658f5c8c0fbdff7c598fe24d4d521c05 (patch)
tree243127b57aa32d589c189a513a2b5859e046a770 /drivers/leds/leds-lp8788.c
parentb79d4b7717b1355f3215278dc5942f42afb00a1b (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-lp8788.c')
-rw-r--r--drivers/leds/leds-lp8788.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/leds/leds-lp8788.c b/drivers/leds/leds-lp8788.c
index 7c2cb38..3409f03 100644
--- a/drivers/leds/leds-lp8788.c
+++ b/drivers/leds/leds-lp8788.c
@@ -183,7 +183,6 @@ static struct platform_driver lp8788_led_driver = {
.remove = lp8788_led_remove,
.driver = {
.name = LP8788_DEV_KEYLED,
- .owner = THIS_MODULE,
},
};
module_platform_driver(lp8788_led_driver);

Privacy Policy