Selaa lähdekoodia

ARM: mach-imx: drop owner assignment from platform_drivers

A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Wolfram Sang 10 vuotta sitten
vanhempi
commit
f2633f8a53
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  1. 0 1
      arch/arm/mach-imx/mmdc.c

+ 0 - 1
arch/arm/mach-imx/mmdc.c

@@ -59,7 +59,6 @@ static struct of_device_id imx_mmdc_dt_ids[] = {
 static struct platform_driver imx_mmdc_driver = {
 	.driver		= {
 		.name	= "imx-mmdc",
-		.owner	= THIS_MODULE,
 		.of_match_table = imx_mmdc_dt_ids,
 	},
 	.probe		= imx_mmdc_probe,