Skip to content

Commit

Permalink
mips: mti-sead3: drop owner assignment from platform_drivers
Browse files Browse the repository at this point in the history
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <[email protected]>
  • Loading branch information
Wolfram Sang committed Oct 20, 2014
1 parent 5ffc6d1 commit b9acbf9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion arch/mips/mti-sead3/leds-sead3.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ static struct platform_driver sead3_led_driver = {
.remove = sead3_led_remove,
.driver = {
.name = DRVNAME,
.owner = THIS_MODULE,
},
};

Expand Down
1 change: 0 additions & 1 deletion arch/mips/mti-sead3/sead3-i2c-drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion arch/mips/mti-sead3/sead3-pic32-i2c-drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b9acbf9

Please sign in to comment.