summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:59 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:59 +0200
commitc084b7bbd35cb21d2e5a6f3ec75b6dc19331eb2f (patch)
treeff6b722342ef8066993f7f4cff4c89c76007ab2f
parent5c1a77c7fd816c9e9c4c08132876fcb757732649 (diff)
downloadop-kernel-dev-c084b7bbd35cb21d2e5a6f3ec75b6dc19331eb2f.zip
op-kernel-dev-c084b7bbd35cb21d2e5a6f3ec75b6dc19331eb2f.tar.gz
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 <wsa@the-dreams.de>
-rw-r--r--drivers/mtd/spi-nor/fsl-quadspi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/spi-nor/fsl-quadspi.c b/drivers/mtd/spi-nor/fsl-quadspi.c
index 8d659a2..b60b211 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,
OpenPOWER on IntegriCloud