OSDN Git Service

crypto: amcc: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:25 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:25 +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/amcc/crypto4xx_core.c

index e4c6c58..d02b771 100644 (file)
@@ -1288,7 +1288,6 @@ static const struct of_device_id crypto4xx_match[] = {
 static struct platform_driver crypto4xx_driver = {
        .driver = {
                .name = "crypto4xx",
-               .owner = THIS_MODULE,
                .of_match_table = crypto4xx_match,
        },
        .probe          = crypto4xx_probe,