diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:59 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:59 -0400 |
commit | c084b7bbd35cb21d2e5a6f3ec75b6dc19331eb2f (patch) | |
tree | ff6b722342ef8066993f7f4cff4c89c76007ab2f | |
parent | 5c1a77c7fd816c9e9c4c08132876fcb757732649 (diff) |
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.c | 1 |
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 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 = { | |||
996 | .driver = { | 996 | .driver = { |
997 | .name = "fsl-quadspi", | 997 | .name = "fsl-quadspi", |
998 | .bus = &platform_bus_type, | 998 | .bus = &platform_bus_type, |
999 | .owner = THIS_MODULE, | ||
1000 | .of_match_table = fsl_qspi_dt_ids, | 999 | .of_match_table = fsl_qspi_dt_ids, |
1001 | }, | 1000 | }, |
1002 | .probe = fsl_qspi_probe, | 1001 | .probe = fsl_qspi_probe, |