From: Wolfram Sang Date: Mon, 20 Oct 2014 14:20:25 +0000 (+0200) Subject: crypto: amcc: drop owner assignment from platform_drivers X-Git-Tag: v3.19-rc1~78^2~25^2~247 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1a8cdf6e3a8e1acdb5bb7ffa498d1cea0fb5007d;p=karo-tx-linux.git crypto: amcc: drop owner assignment from platform_drivers A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang --- diff --git a/drivers/crypto/amcc/crypto4xx_core.c b/drivers/crypto/amcc/crypto4xx_core.c index e4c6c58fbb03..d02b77150070 100644 --- a/drivers/crypto/amcc/crypto4xx_core.c +++ b/drivers/crypto/amcc/crypto4xx_core.c @@ -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,