mmc: sdhci-of-at91: fix platform_no_drv_owner.cocci warnings
Ulf Hansson
Applied+linux-mmc
Quoted 8 lines · kbuild test robot
drivers/mmc/host/sdhci-of-at91.c:180:3-8: No need to set .owner here. The core will do it.
Remove .owner field if calls are used which set it automatically
Generated by:
scripts/coccinelle/api/platform_no_drv_owner.cocciSigned-off-by Fengguang Wu <[email protected]>
Thanks, applied for next!
Kind regards
Uffe
Quoted 15 lines
---
sdhci-of-at91.c | 1 - 1 file changed, 1 deletion(-)drivers/mmc/host/sdhci-of-at91.c +0
-1@@ -177,7 +177,6 @@ static int sdhci_at91_remove(struct platstatic struct platform_driver sdhci_at91_driver = { .driver = { .name ="sdhci-at91" , - .owner =THIS_MODULE , .of_match_table = sdhci_at91_dt_match, .pm =SDHCI_PLTFM_PMOPS , },