usb: chipidea: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:47 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:47 +0000 (16:21 +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/usb/chipidea/ci_hdrc_imx.c
drivers/usb/chipidea/ci_hdrc_zevio.c
drivers/usb/chipidea/core.c
drivers/usb/chipidea/usbmisc_imx.c

index a7ab0f1..e913792 100644 (file)
@@ -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,
         },
 };
index 3bf6489..d976fc1 100644 (file)
@@ -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,
        },
 };
index 3df5005..b7e7884 100644 (file)
@@ -752,7 +752,6 @@ static struct platform_driver ci_hdrc_driver = {
        .remove = ci_hdrc_remove,
        .driver = {
                .name   = "ci_hdrc",
-               .owner  = THIS_MODULE,
        },
 };
 
index 926c997..7776ec6 100644 (file)
@@ -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,
         },
 };