From: Wolfram Sang Date: Mon, 20 Oct 2014 14:20:59 +0000 (+0200) Subject: mtd: spi-nor: drop owner assignment from platform_drivers X-Git-Tag: v3.19-rc1~78^2~25^2~171 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c084b7bbd35cb21d2e5a6f3ec75b6dc19331eb2f;p=karo-tx-linux.git mtd: spi-nor: 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 --- diff --git a/drivers/mtd/spi-nor/fsl-quadspi.c b/drivers/mtd/spi-nor/fsl-quadspi.c index 8d659a2888d5..b60b211594fc 100644 --- a/drivers/mtd/spi-nor/fsl-quadspi.c +++ b/drivers/mtd/spi-nor/fsl-quadspi.c @@ -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,