mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
spi: spi-fsl-lpspi: Pass pm_ptr()
After coverting to SYSTEM_SLEEP_PM_OPS, it is necessary to pass pm_ptr()
to the PM operations.
Fix it accordingly.
Fixes: 6765e859fa
("spi: spi-fsl-lpspi: Switch to SYSTEM_SLEEP_PM_OPS()")
Signed-off-by: Fabio Estevam <festevam@denx.de>
Link: https://patch.msgid.link/20240625183919.368770-2-festevam@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
2d4e40dcdc
commit
1420139945
@ -991,7 +991,7 @@ static struct platform_driver fsl_lpspi_driver = {
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.of_match_table = fsl_lpspi_dt_ids,
|
||||
.pm = &fsl_lpspi_pm_ops,
|
||||
.pm = pm_ptr(&fsl_lpspi_pm_ops),
|
||||
},
|
||||
.probe = fsl_lpspi_probe,
|
||||
.remove_new = fsl_lpspi_remove,
|
||||
|
Loading…
Reference in New Issue
Block a user