usb: c67x00: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:46 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:46 +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/c67x00/c67x00-drv.c

index 8db3380c33295be4200b6b5bfcf0515944ea2f01..5796c88205144ef78fe0860b00a495d3310e99a0 100644 (file)
@@ -221,7 +221,6 @@ static struct platform_driver c67x00_driver = {
        .probe  = c67x00_drv_probe,
        .remove = c67x00_drv_remove,
        .driver = {
-               .owner = THIS_MODULE,
                .name = "c67x00",
        },
 };