mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 01:54:09 +08:00
mtd: fsl-quadspi: Remove unneeded driver.bus assignment
platform_driver_register() takes care of assigning driver->bus to &platform_bus_type, no need to explicitly assign it in the driver. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Acked-by: Han Xu <han.xu@nxp.com> Signed-off-by: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
This commit is contained in:
parent
7928b2cbe5
commit
94bf11bdda
@ -1174,7 +1174,6 @@ static int fsl_qspi_resume(struct platform_device *pdev)
|
||||
static struct platform_driver fsl_qspi_driver = {
|
||||
.driver = {
|
||||
.name = "fsl-quadspi",
|
||||
.bus = &platform_bus_type,
|
||||
.of_match_table = fsl_qspi_dt_ids,
|
||||
},
|
||||
.probe = fsl_qspi_probe,
|
||||
|
Loading…
Reference in New Issue
Block a user