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>
This commit is contained in:
@@ -272,7 +272,6 @@ static int wm8350_led_remove(struct platform_device *pdev)
|
||||
static struct platform_driver wm8350_led_driver = {
|
||||
.driver = {
|
||||
.name = "wm8350-led",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = wm8350_led_probe,
|
||||
.remove = wm8350_led_remove,
|
||||
|
مرجع در شماره جدید
Block a user