]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: emxx_udc: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:37 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:37 +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/staging/emxx_udc/emxx_udc.c

index 1ae0013fb11889a8953d86719f49ccc59dca542a..ed8d86c98f6529ff4aa59bf5ab764af87461d369 100644 (file)
@@ -3491,7 +3491,6 @@ static struct platform_driver udc_driver = {
        .suspend        = nbu2ss_drv_suspend,
        .resume         = nbu2ss_drv_resume,
        .driver         = {
-               .owner  = THIS_MODULE,
                .name   = driver_name,
        },
 };