소스 검색

usb: chipidea: 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 10 년 전
부모
커밋
5bc879a6a2
4개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 1
      drivers/usb/chipidea/ci_hdrc_imx.c
  2. 0 1
      drivers/usb/chipidea/ci_hdrc_zevio.c
  3. 0 1
      drivers/usb/chipidea/core.c
  4. 0 1
      drivers/usb/chipidea/usbmisc_imx.c

+ 0 - 1
drivers/usb/chipidea/ci_hdrc_imx.c

@@ -215,7 +215,6 @@ static struct platform_driver ci_hdrc_imx_driver = {
 	.remove = ci_hdrc_imx_remove,
 	.driver = {
 		.name = "imx_usb",
-		.owner = THIS_MODULE,
 		.of_match_table = ci_hdrc_imx_dt_ids,
 	 },
 };

+ 0 - 1
drivers/usb/chipidea/ci_hdrc_zevio.c

@@ -61,7 +61,6 @@ static struct platform_driver ci_hdrc_zevio_driver = {
 	.remove = ci_hdrc_zevio_remove,
 	.driver = {
 		.name = "zevio_usb",
-		.owner = THIS_MODULE,
 		.of_match_table = ci_hdrc_zevio_dt_ids,
 	},
 };

+ 0 - 1
drivers/usb/chipidea/core.c

@@ -752,7 +752,6 @@ static struct platform_driver ci_hdrc_driver = {
 	.remove	= ci_hdrc_remove,
 	.driver	= {
 		.name	= "ci_hdrc",
-		.owner	= THIS_MODULE,
 	},
 };
 

+ 0 - 1
drivers/usb/chipidea/usbmisc_imx.c

@@ -372,7 +372,6 @@ static struct platform_driver usbmisc_imx_driver = {
 	.remove = usbmisc_imx_remove,
 	.driver = {
 		.name = "usbmisc_imx",
-		.owner = THIS_MODULE,
 		.of_match_table = usbmisc_imx_dt_ids,
 	 },
 };