mmc: sdhci-of-at91: fix platform_no_drv_owner.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Tue, 25 Aug 2015 14:13:29 +0000 (16:13 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 27 Aug 2015 12:50:57 +0000 (14:50 +0200)
 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 <ludovic.desroches@atmel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-at91.c

index 7a9f4b19f98959df144d1887e6b8601d118b3fcb..d1556643a41d325abc7b7637ac94c694e778fedc 100644 (file)
@@ -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,
        },
This page took 0.026253 seconds and 5 git commands to generate.