瀏覽代碼

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>
Wolfram Sang 11 年之前
父節點
當前提交
da2dc6fff5
共有 3 個文件被更改,包括 0 次插入3 次删除
  1. 0 1
      drivers/media/radio/radio-si476x.c
  2. 0 1
      drivers/media/radio/radio-timb.c
  3. 0 1
      drivers/media/radio/radio-wl1273.c

+ 0 - 1
drivers/media/radio/radio-si476x.c

@@ -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,

+ 0 - 1
drivers/media/radio/radio-timb.c

@@ -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,

+ 0 - 1
drivers/media/radio/radio-wl1273.c

@@ -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,
 	},
 };