Skip to content

Commit 1420139

Browse files
Fabio Estevambroonie
authored andcommitted
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: 6765e85 ("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>
1 parent 2d4e40d commit 1420139

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/spi/spi-fsl-lpspi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ static struct platform_driver fsl_lpspi_driver = {
991991
.driver = {
992992
.name = DRIVER_NAME,
993993
.of_match_table = fsl_lpspi_dt_ids,
994-
.pm = &fsl_lpspi_pm_ops,
994+
.pm = pm_ptr(&fsl_lpspi_pm_ops),
995995
},
996996
.probe = fsl_lpspi_probe,
997997
.remove_new = fsl_lpspi_remove,

0 commit comments

Comments
 (0)