]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 e4c6c58fbb03ec66c475278adb07ff389e896599..d02b7715007022db4f25c5b4a8bfee3abbc564dc 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,