From: Wei Yongjun Date: Mon, 6 Feb 2017 15:26:17 +0000 (+0000) Subject: net: wan: slic_ds26522: Remove .owner field for driver X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=fee402211ff2d2f0a136a9d77b30d66aeea193b8;p=openwrt%2Fstaging%2Fblogic.git net: wan: slic_ds26522: Remove .owner field for driver Remove .owner field if calls are used which set it automatically. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Wei Yongjun Signed-off-by: David S. Miller --- diff --git a/drivers/net/wan/slic_ds26522.c b/drivers/net/wan/slic_ds26522.c index 2cdcee2be16c..1f6bc8791d51 100644 --- a/drivers/net/wan/slic_ds26522.c +++ b/drivers/net/wan/slic_ds26522.c @@ -241,7 +241,6 @@ static struct spi_driver slic_ds26522_driver = { .driver = { .name = "ds26522", .bus = &spi_bus_type, - .owner = THIS_MODULE, .of_match_table = slic_ds26522_match, }, .probe = slic_ds26522_probe,