Commit 5f2b3eab authored by kbuild test robot's avatar kbuild test robot Committed by Ulf Hansson

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 <ludovic.desroches@atmel.com>
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 5afc30fc
...@@ -177,7 +177,6 @@ static int sdhci_at91_remove(struct platform_device *pdev) ...@@ -177,7 +177,6 @@ static int sdhci_at91_remove(struct platform_device *pdev)
static struct platform_driver sdhci_at91_driver = { static struct platform_driver sdhci_at91_driver = {
.driver = { .driver = {
.name = "sdhci-at91", .name = "sdhci-at91",
.owner = THIS_MODULE,
.of_match_table = sdhci_at91_dt_match, .of_match_table = sdhci_at91_dt_match,
.pm = SDHCI_PLTFM_PMOPS, .pm = SDHCI_PLTFM_PMOPS,
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment