mips: mti-sead3: 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:
parent
5ffc6d13e1
commit
b9acbf99f1
|
@ -70,7 +70,6 @@ static struct platform_driver sead3_led_driver = {
|
|||
.remove = sead3_led_remove,
|
||||
.driver = {
|
||||
.name = DRVNAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -380,7 +380,6 @@ static int sead3_i2c_platform_resume(struct platform_device *pdev)
|
|||
static struct platform_driver sead3_i2c_platform_driver = {
|
||||
.driver = {
|
||||
.name = "sead3-i2c",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = sead3_i2c_platform_probe,
|
||||
.remove = sead3_i2c_platform_remove,
|
||||
|
|
|
@ -393,7 +393,6 @@ i2c_platform_resume(struct platform_device *pdev)
|
|||
static struct platform_driver i2c_platform_driver = {
|
||||
.driver = {
|
||||
.name = "i2c_pic32",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = i2c_platform_probe,
|
||||
.remove = i2c_platform_remove,
|
||||
|
|
Loading…
Reference in New Issue