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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 2d4e40d commit 1420139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)