aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:51 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:51 -0400
commitda2dc6fff5b63b94a45d75b77b1a441d1b55a4bf (patch)
tree5f720c479c6587ad835beeec99f8418ce898085f /drivers/media
parent377b19756c67b6754fbbd4ff00efadf2b67eff28 (diff)
media: radio: 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 'drivers/media')
-rw-r--r--drivers/media/radio/radio-si476x.c1
-rw-r--r--drivers/media/radio/radio-timb.c1
-rw-r--r--drivers/media/radio/radio-wl1273.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/radio/radio-si476x.c b/drivers/media/radio/radio-si476x.c
index 633022b45f33..dccf58691650 100644
--- a/drivers/media/radio/radio-si476x.c
+++ b/drivers/media/radio/radio-si476x.c
@@ -1575,7 +1575,6 @@ MODULE_ALIAS("platform:si476x-radio");
1575static struct platform_driver si476x_radio_driver = { 1575static struct platform_driver si476x_radio_driver = {
1576 .driver = { 1576 .driver = {
1577 .name = DRIVER_NAME, 1577 .name = DRIVER_NAME,
1578 .owner = THIS_MODULE,
1579 }, 1578 },
1580 .probe = si476x_radio_probe, 1579 .probe = si476x_radio_probe,
1581 .remove = si476x_radio_remove, 1580 .remove = si476x_radio_remove,
diff --git a/drivers/media/radio/radio-timb.c b/drivers/media/radio/radio-timb.c
index b9285e6584af..e6b55edc8f8d 100644
--- a/drivers/media/radio/radio-timb.c
+++ b/drivers/media/radio/radio-timb.c
@@ -174,7 +174,6 @@ static int timbradio_remove(struct platform_device *pdev)
174static struct platform_driver timbradio_platform_driver = { 174static struct platform_driver timbradio_platform_driver = {
175 .driver = { 175 .driver = {
176 .name = DRIVER_NAME, 176 .name = DRIVER_NAME,
177 .owner = THIS_MODULE,
178 }, 177 },
179 .probe = timbradio_probe, 178 .probe = timbradio_probe,
180 .remove = timbradio_remove, 179 .remove = timbradio_remove,
diff --git a/drivers/media/radio/radio-wl1273.c b/drivers/media/radio/radio-wl1273.c
index 9cf6731fb816..fd2281c4a784 100644
--- a/drivers/media/radio/radio-wl1273.c
+++ b/drivers/media/radio/radio-wl1273.c
@@ -2148,7 +2148,6 @@ static struct platform_driver wl1273_fm_radio_driver = {
2148 .remove = wl1273_fm_radio_remove, 2148 .remove = wl1273_fm_radio_remove,
2149 .driver = { 2149 .driver = {
2150 .name = "wl1273_fm_radio", 2150 .name = "wl1273_fm_radio",
2151 .owner = THIS_MODULE,
2152 }, 2151 },
2153}; 2152};
2154 2153