aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-gpio.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:43 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:43 +0200
commit81902d5f658f5c8c0fbdff7c598fe24d4d521c05 (patch)
tree243127b57aa32d589c189a513a2b5859e046a770 /drivers/leds/leds-gpio.c
parentirqchip: drop owner assignment from platform_drivers (diff)
downloadlinux-dev-81902d5f658f5c8c0fbdff7c598fe24d4d521c05.tar.xz
linux-dev-81902d5f658f5c8c0fbdff7c598fe24d4d521c05.zip
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-gpio.c')
-rw-r--r--drivers/leds/leds-gpio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c
index 57ff20fecf57..eda0c87dd9e4 100644
--- a/drivers/leds/leds-gpio.c
+++ b/drivers/leds/leds-gpio.c
@@ -289,7 +289,6 @@ static struct platform_driver gpio_led_driver = {
.remove = gpio_led_remove,
.driver = {
.name = "leds-gpio",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(of_gpio_leds_match),
},
};