OSDN Git Service

media: platform: blackfin: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:44 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:44 +0000 (16:20 +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/media/platform/blackfin/bfin_capture.c

index 9b5daa6..8c1dca2 100644 (file)
@@ -1130,7 +1130,6 @@ static int bcap_remove(struct platform_device *pdev)
 static struct platform_driver bcap_driver = {
        .driver = {
                .name  = CAPTURE_DRV_NAME,
-               .owner = THIS_MODULE,
        },
        .probe = bcap_probe,
        .remove = bcap_remove,