diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:20:43 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:20:43 +0200 |
commit | 81902d5f658f5c8c0fbdff7c598fe24d4d521c05 (patch) | |
tree | 243127b57aa32d589c189a513a2b5859e046a770 /drivers/leds/leds-wm831x-status.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-wm831x-status.c')
-rw-r--r-- | drivers/leds/leds-wm831x-status.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/leds/leds-wm831x-status.c b/drivers/leds/leds-wm831x-status.c index 1b71e0701002..56027ef7c7e8 100644 --- a/drivers/leds/leds-wm831x-status.c +++ b/drivers/leds/leds-wm831x-status.c @@ -312,7 +312,6 @@ static int wm831x_status_remove(struct platform_device *pdev) static struct platform_driver wm831x_status_driver = { .driver = { .name = "wm831x-status", - .owner = THIS_MODULE, }, .probe = wm831x_status_probe, .remove = wm831x_status_remove, |