summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-mc13783.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:43 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:43 +0400
commit81902d5f658f5c8c0fbdff7c598fe24d4d521c05 (patch)
tree243127b57aa32d589c189a513a2b5859e046a770 /drivers/leds/leds-mc13783.c
parentb79d4b7717b1355f3215278dc5942f42afb00a1b (diff)
downloadlinux-81902d5f658f5c8c0fbdff7c598fe24d4d521c05.tar.xz
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-mc13783.c')
-rw-r--r--drivers/leds/leds-mc13783.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/leds/leds-mc13783.c b/drivers/leds/leds-mc13783.c
index f1db88e25138..85c3714e1b5a 100644
--- a/drivers/leds/leds-mc13783.c
+++ b/drivers/leds/leds-mc13783.c
@@ -325,7 +325,6 @@ MODULE_DEVICE_TABLE(platform, mc13xxx_led_id_table);
static struct platform_driver mc13xxx_led_driver = {
.driver = {
.name = "mc13xxx-led",
- .owner = THIS_MODULE,
},
.remove = mc13xxx_led_remove,
.id_table = mc13xxx_led_id_table,