pwm: 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:
@ -131,7 +131,6 @@ static int ab8500_pwm_remove(struct platform_device *pdev)
|
||||
static struct platform_driver ab8500_pwm_driver = {
|
||||
.driver = {
|
||||
.name = "ab8500-pwm",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ab8500_pwm_probe,
|
||||
.remove = ab8500_pwm_remove,
|
||||
|
Reference in New Issue
Block a user