mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00: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
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue