Commit da2dc6ff authored by Wolfram Sang's avatar Wolfram Sang

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: default avatarWolfram Sang <wsa@the-dreams.de>
parent 377b1975
...@@ -1575,7 +1575,6 @@ MODULE_ALIAS("platform:si476x-radio"); ...@@ -1575,7 +1575,6 @@ MODULE_ALIAS("platform:si476x-radio");
static struct platform_driver si476x_radio_driver = { static struct platform_driver si476x_radio_driver = {
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.owner = THIS_MODULE,
}, },
.probe = si476x_radio_probe, .probe = si476x_radio_probe,
.remove = si476x_radio_remove, .remove = si476x_radio_remove,
......
...@@ -174,7 +174,6 @@ static int timbradio_remove(struct platform_device *pdev) ...@@ -174,7 +174,6 @@ static int timbradio_remove(struct platform_device *pdev)
static struct platform_driver timbradio_platform_driver = { static struct platform_driver timbradio_platform_driver = {
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.owner = THIS_MODULE,
}, },
.probe = timbradio_probe, .probe = timbradio_probe,
.remove = timbradio_remove, .remove = timbradio_remove,
......
...@@ -2148,7 +2148,6 @@ static struct platform_driver wl1273_fm_radio_driver = { ...@@ -2148,7 +2148,6 @@ static struct platform_driver wl1273_fm_radio_driver = {
.remove = wl1273_fm_radio_remove, .remove = wl1273_fm_radio_remove,
.driver = { .driver = {
.name = "wl1273_fm_radio", .name = "wl1273_fm_radio",
.owner = THIS_MODULE,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment