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

index ae7e120..20b4c30 100644 (file)
@@ -405,7 +405,6 @@ static struct platform_driver usb3503_platform_driver = {
        .driver = {
                .name = USB3503_I2C_NAME,
                .of_match_table = of_match_ptr(usb3503_of_match),
-               .owner = THIS_MODULE,
        },
        .probe          = usb3503_platform_probe,
 };