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

index 7160c43c59fcc31af1fbbbf79c1b44d87a68e22f..829eec8959f24868a59ed8354160291878ebf68c 100644 (file)
@@ -578,7 +578,6 @@ static int dcdbas_remove(struct platform_device *dev)
 static struct platform_driver dcdbas_driver = {
        .driver         = {
                .name   = DRIVER_NAME,
-               .owner  = THIS_MODULE,
        },
        .probe          = dcdbas_probe,
        .remove         = dcdbas_remove,