mips: mti-sead3: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:08 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:08 +0000 (16:20 +0200)
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>
arch/mips/mti-sead3/leds-sead3.c
arch/mips/mti-sead3/sead3-i2c-drv.c
arch/mips/mti-sead3/sead3-pic32-i2c-drv.c

index 0a168c9..3abe47b 100644 (file)
@@ -70,7 +70,6 @@ static struct platform_driver sead3_led_driver = {
        .remove         = sead3_led_remove,
        .driver         = {
                .name           = DRVNAME,
-               .owner          = THIS_MODULE,
        },
 };
 
index 1f787a6..2bebf09 100644 (file)
@@ -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,
index 80fe194..c388844 100644 (file)
@@ -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,