OSDN Git Service

ARM: mach-imx: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:03 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:03 +0000 (16:20 +0200)
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>
arch/arm/mach-imx/mmdc.c

index 7a9686a..a3dedc3 100644 (file)
@@ -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,