]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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 633022b45f33798ed352a5d3499dd1b7fdb75b36..dccf58691650d5d3c5432f79794fe09fdac30d77 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 b9285e6584afa19d69b4f89f28f7735825e7b1c8..e6b55edc8f8de32de99cca7c0204feb8486311e1 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 9cf6731fb816b4fe2bb27c6ce06f37658995faf3..fd2281c4a7845391eebaf6de34b354e290e47dd8 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,
        },
 };