OSDN Git Service

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 a862b28..291bf11 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,