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

index 92105f3dc8e09c9f94ef2b4efcb839ec051e2c42..0fff20435e62213e4ec2aeefb90f883e58721679 100644 (file)
@@ -1781,7 +1781,6 @@ static struct platform_driver cryp_driver = {
        .remove = ux500_cryp_remove,
        .shutdown = ux500_cryp_shutdown,
        .driver = {
-               .owner = THIS_MODULE,
                .name  = "cryp1",
                .of_match_table = ux500_cryp_match,
                .pm    = &ux500_cryp_pm,