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 92105f3..0fff204 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,