]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mtd: spi-nor: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:59 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:59 +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>
drivers/mtd/spi-nor/fsl-quadspi.c

index 8d659a2888d5f0a7cb8d9a03446250aaad03e324..b60b211594fc330638b8a2039ff960b94ccd2f14 100644 (file)
@@ -996,7 +996,6 @@ static struct platform_driver fsl_qspi_driver = {
        .driver = {
                .name   = "fsl-quadspi",
                .bus    = &platform_bus_type,
-               .owner  = THIS_MODULE,
                .of_match_table = fsl_qspi_dt_ids,
        },
        .probe          = fsl_qspi_probe,