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

index a862b28092e401d886352262c3274748f81c0758..291bf11e09a1a8c33b36056e7f5764941af8b4b2 100644 (file)
@@ -707,7 +707,6 @@ static int vpfe_remove(struct platform_device *pdev)
 static struct platform_driver vpfe_driver = {
        .driver = {
                .name = CAPTURE_DRV_NAME,
-               .owner = THIS_MODULE,
        },
        .probe = vpfe_probe,
        .remove = vpfe_remove,