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>
This commit is contained in:
Wolfram Sang 2014-10-20 16:20:59 +02:00
parent 5c1a77c7fd
commit c084b7bbd3
1 changed files with 0 additions and 1 deletions

View File

@ -996,7 +996,6 @@ static struct platform_driver fsl_qspi_driver = {
.driver = { .driver = {
.name = "fsl-quadspi", .name = "fsl-quadspi",
.bus = &platform_bus_type, .bus = &platform_bus_type,
.owner = THIS_MODULE,
.of_match_table = fsl_qspi_dt_ids, .of_match_table = fsl_qspi_dt_ids,
}, },
.probe = fsl_qspi_probe, .probe = fsl_qspi_probe,