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 a7ab0f15926e33253ba46bfada73e7e4362255a1..e913792e4df563eef59c8dccb81e0cf6a4dfa300 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 3bf6489ef5ecbbe0822a307e45df402850419434..d976fc1db73ab99fbde57bcbbeaefb571b0d8b69 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 3df5005c554d2bbd655544fa046cbfb346b4c0a9..b7e788446ed6bb09ccfef289f6a5fc5cb89115b7 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 926c997ef3106be1b2a887cbc362f444cceb43e3..7776ec676014d3329504643b7cded791396a0814 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,
         },
 };