aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:08 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:08 -0400
commitb9acbf99f1e3a76e5a6ea185009d9c7e30c6a9c1 (patch)
treebf94974a616e474d53ce1193e8e8eb53d903b053 /arch/mips
parent5ffc6d13e141632f9f26e47823d00ac5ae4947a8 (diff)
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>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/mti-sead3/leds-sead3.c1
-rw-r--r--arch/mips/mti-sead3/sead3-i2c-drv.c1
-rw-r--r--arch/mips/mti-sead3/sead3-pic32-i2c-drv.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/arch/mips/mti-sead3/leds-sead3.c b/arch/mips/mti-sead3/leds-sead3.c
index 0a168c948b01..3abe47b316aa 100644
--- a/arch/mips/mti-sead3/leds-sead3.c
+++ b/arch/mips/mti-sead3/leds-sead3.c
@@ -70,7 +70,6 @@ static struct platform_driver sead3_led_driver = {
70 .remove = sead3_led_remove, 70 .remove = sead3_led_remove,
71 .driver = { 71 .driver = {
72 .name = DRVNAME, 72 .name = DRVNAME,
73 .owner = THIS_MODULE,
74 }, 73 },
75}; 74};
76 75
diff --git a/arch/mips/mti-sead3/sead3-i2c-drv.c b/arch/mips/mti-sead3/sead3-i2c-drv.c
index 1f787a6a7878..2bebf0974e39 100644
--- a/arch/mips/mti-sead3/sead3-i2c-drv.c
+++ b/arch/mips/mti-sead3/sead3-i2c-drv.c
@@ -380,7 +380,6 @@ static int sead3_i2c_platform_resume(struct platform_device *pdev)
380static struct platform_driver sead3_i2c_platform_driver = { 380static struct platform_driver sead3_i2c_platform_driver = {
381 .driver = { 381 .driver = {
382 .name = "sead3-i2c", 382 .name = "sead3-i2c",
383 .owner = THIS_MODULE,
384 }, 383 },
385 .probe = sead3_i2c_platform_probe, 384 .probe = sead3_i2c_platform_probe,
386 .remove = sead3_i2c_platform_remove, 385 .remove = sead3_i2c_platform_remove,
diff --git a/arch/mips/mti-sead3/sead3-pic32-i2c-drv.c b/arch/mips/mti-sead3/sead3-pic32-i2c-drv.c
index 80fe194cfa53..c388844f4ddb 100644
--- a/arch/mips/mti-sead3/sead3-pic32-i2c-drv.c
+++ b/arch/mips/mti-sead3/sead3-pic32-i2c-drv.c
@@ -393,7 +393,6 @@ i2c_platform_resume(struct platform_device *pdev)
393static struct platform_driver i2c_platform_driver = { 393static struct platform_driver i2c_platform_driver = {
394 .driver = { 394 .driver = {
395 .name = "i2c_pic32", 395 .name = "i2c_pic32",
396 .owner = THIS_MODULE,
397 }, 396 },
398 .probe = i2c_platform_probe, 397 .probe = i2c_platform_probe,
399 .remove = i2c_platform_remove, 398 .remove = i2c_platform_remove,