mirror of https://gitee.com/openkylin/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 <wsa@the-dreams.de>
This commit is contained in:
parent
5c1a77c7fd
commit
c084b7bbd3
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue