From: kbuild test robot Date: Tue, 25 Aug 2015 14:13:29 +0000 (+0200) Subject: mmc: sdhci-of-at91: fix platform_no_drv_owner.cocci warnings X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5f2b3eab3fade514f9647e88356d29c7795ed7ef;p=openwrt%2Fstaging%2Fblogic.git mmc: sdhci-of-at91: fix platform_no_drv_owner.cocci warnings Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: ludovic.desroches@atmel.com Signed-off-by: Fengguang Wu Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/sdhci-of-at91.c b/drivers/mmc/host/sdhci-of-at91.c index 7a9f4b19f989..d1556643a41d 100644 --- a/drivers/mmc/host/sdhci-of-at91.c +++ b/drivers/mmc/host/sdhci-of-at91.c @@ -177,7 +177,6 @@ static int sdhci_at91_remove(struct platform_device *pdev) static struct platform_driver sdhci_at91_driver = { .driver = { .name = "sdhci-at91", - .owner = THIS_MODULE, .of_match_table = sdhci_at91_dt_match, .pm = SDHCI_PLTFM_PMOPS, },