OSDN Git Service

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 1c73f4f..1f58764 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,