Commit 14201399 authored by Fabio Estevam's avatar Fabio Estevam Committed by Mark Brown

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: 6765e859 ("spi: spi-fsl-lpspi: Switch to SYSTEM_SLEEP_PM_OPS()")
Signed-off-by: default avatarFabio Estevam <festevam@denx.de>
Link: https://patch.msgid.link/20240625183919.368770-2-festevam@gmail.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2d4e40dc
...@@ -991,7 +991,7 @@ static struct platform_driver fsl_lpspi_driver = { ...@@ -991,7 +991,7 @@ static struct platform_driver fsl_lpspi_driver = {
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.of_match_table = fsl_lpspi_dt_ids, .of_match_table = fsl_lpspi_dt_ids,
.pm = &fsl_lpspi_pm_ops, .pm = pm_ptr(&fsl_lpspi_pm_ops),
}, },
.probe = fsl_lpspi_probe, .probe = fsl_lpspi_probe,
.remove_new = fsl_lpspi_remove, .remove_new = fsl_lpspi_remove,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment