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: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
@@ -1553,7 +1553,6 @@ static struct platform_driver sh_mmcif_driver = {
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.pm = &sh_mmcif_dev_pm_ops,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = mmcif_of_match,
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user