]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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 9b5daa65841c3e75786c6f8d61c127c86ff8e06c..8c1dca2f772867c2708daeb2c81c5e95a8327089 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,