Commit 2137f5d3 authored by Peter Griffin's avatar Peter Griffin Committed by Ulf Hansson
Browse files

mmc: remove .owner field for drivers using module_platform_driver



This patch removes the superflous .owner field for drivers which
use the module_platform_driver API, as this is overriden in
platform_driver_register anyway.

Signed-off-by: default avatarPeter Griffin <peter.griffin@linaro.org>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent dea67c4e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1161,7 +1161,6 @@ static struct platform_driver jz4740_mmc_driver = {
	.remove = jz4740_mmc_remove,
	.driver = {
		.name = "jz4740-mmc",
		.owner = THIS_MODULE,
		.pm = JZ4740_MMC_PM_OPS,
	},
};
+0 −1
Original line number Diff line number Diff line
@@ -717,7 +717,6 @@ static struct platform_driver moxart_mmc_driver = {
	.remove     = moxart_remove,
	.driver     = {
		.name		= "mmc-moxart",
		.owner		= THIS_MODULE,
		.of_match_table	= moxart_mmc_match,
	},
};
+0 −1
Original line number Diff line number Diff line
@@ -1238,7 +1238,6 @@ static struct platform_driver mxcmci_driver = {
	.id_table	= mxcmci_devtype,
	.driver		= {
		.name		= DRIVER_NAME,
		.owner		= THIS_MODULE,
		.pm	= &mxcmci_pm_ops,
		.of_match_table	= mxcmci_of_match,
	}
+0 −1
Original line number Diff line number Diff line
@@ -735,7 +735,6 @@ static struct platform_driver mxs_mmc_driver = {
	.id_table	= mxs_ssp_ids,
	.driver		= {
		.name	= DRIVER_NAME,
		.owner	= THIS_MODULE,
#ifdef CONFIG_PM
		.pm	= &mxs_mmc_pm_ops,
#endif
+0 −1
Original line number Diff line number Diff line
@@ -1494,7 +1494,6 @@ static struct platform_driver mmc_omap_driver = {
	.remove		= mmc_omap_remove,
	.driver		= {
		.name	= DRIVER_NAME,
		.owner	= THIS_MODULE,
		.of_match_table = of_match_ptr(mmc_omap_match),
	},
};
Loading