OSDN Git Service

media: radio: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:51 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:51 +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>
drivers/media/radio/radio-si476x.c
drivers/media/radio/radio-timb.c
drivers/media/radio/radio-wl1273.c

index 633022b..dccf586 100644 (file)
@@ -1575,7 +1575,6 @@ MODULE_ALIAS("platform:si476x-radio");
 static struct platform_driver si476x_radio_driver = {
        .driver         = {
                .name   = DRIVER_NAME,
-               .owner  = THIS_MODULE,
        },
        .probe          = si476x_radio_probe,
        .remove         = si476x_radio_remove,
index b9285e6..e6b55ed 100644 (file)
@@ -174,7 +174,6 @@ static int timbradio_remove(struct platform_device *pdev)
 static struct platform_driver timbradio_platform_driver = {
        .driver = {
                .name   = DRIVER_NAME,
-               .owner  = THIS_MODULE,
        },
        .probe          = timbradio_probe,
        .remove         = timbradio_remove,
index 9cf6731..fd2281c 100644 (file)
@@ -2148,7 +2148,6 @@ static struct platform_driver wl1273_fm_radio_driver = {
        .remove         = wl1273_fm_radio_remove,
        .driver         = {
                .name   = "wl1273_fm_radio",
-               .owner  = THIS_MODULE,
        },
 };