summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-da903x.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-da903x.c
parentb79d4b7717b1355f3215278dc5942f42afb00a1b (diff)
downloadop-kernel-dev-81902d5f658f5c8c0fbdff7c598fe24d4d521c05.zip
op-kernel-dev-81902d5f658f5c8c0fbdff7c598fe24d4d521c05.tar.gz
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-da903x.c')
-rw-r--r--drivers/leds/leds-da903x.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/leds/leds-da903x.c b/drivers/leds/leds-da903x.c
index 54b8b52..952ba96e 100644
--- a/drivers/leds/leds-da903x.c
+++ b/drivers/leds/leds-da903x.c
@@ -144,7 +144,6 @@ static int da903x_led_remove(struct platform_device *pdev)
static struct platform_driver da903x_led_driver = {
.driver = {
.name = "da903x-led",
- .owner = THIS_MODULE,
},
.probe = da903x_led_probe,
.remove = da903x_led_remove,
OpenPOWER on IntegriCloud