]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
crypto: ux500: hash: 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/hash/hash_core.c

index 1c73f4fbc2526027f96b2323b21b0c4c0c1e1b0f..1f5876427455f51b3e39c962e9d08ee6f323857d 100644 (file)
@@ -1962,7 +1962,6 @@ static struct platform_driver hash_driver = {
        .remove = ux500_hash_remove,
        .shutdown = ux500_hash_shutdown,
        .driver = {
-               .owner = THIS_MODULE,
                .name  = "hash1",
                .of_match_table = ux500_hash_match,
                .pm    = &ux500_hash_pm,