]> git.karo-electronics.de Git - linux-beck.git/commitdiff
usb: gadget: udc: bdc: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Sun, 21 Dec 2014 21:14:42 +0000 (22:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jan 2015 20:31:53 +0000 (12:31 -0800)
This 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/bdc/bdc_core.c

index c6dfef8c7bbc9660cfb2634dbec5f4e14bbb972a..5c8f4effb62ac2ef09ae65e9fcddb707ff9d473c 100644 (file)
@@ -521,7 +521,6 @@ static int bdc_remove(struct platform_device *pdev)
 static struct platform_driver bdc_driver = {
        .driver         = {
                .name   = BRCM_BDC_NAME,
-               .owner  = THIS_MODULE
        },
        .probe          = bdc_probe,
        .remove         = bdc_remove,