mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
spi: spi-imx: Pass pm_ptr()
After coverting to RUNTIME_PM_OPS/SYSTEM_SLEEP_PM_OPS, it is necessary
to pass pm_ptr() to the PM operations.
Fix it accordingly.
Fixes: a93f089ccf
("spi: spi-imx: Switch to RUNTIME_PM_OPS/SYSTEM_SLEEP_PM_OPS()")
Signed-off-by: Fabio Estevam <festevam@denx.de>
Link: https://patch.msgid.link/20240625183919.368770-1-festevam@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
f01062881f
commit
2d4e40dcdc
@ -1953,7 +1953,7 @@ static struct platform_driver spi_imx_driver = {
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.of_match_table = spi_imx_dt_ids,
|
||||
.pm = &imx_spi_pm,
|
||||
.pm = pm_ptr(&imx_spi_pm),
|
||||
},
|
||||
.probe = spi_imx_probe,
|
||||
.remove_new = spi_imx_remove,
|
||||
|
Loading…
Reference in New Issue
Block a user