Skip to content

Commit 2d4e40d

Browse files
Fabio Estevambroonie
authored andcommitted
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: a93f089 ("spi: spi-imx: Switch to RUNTIME_PM_OPS/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 f010628 commit 2d4e40d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/spi/spi-imx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1953,7 +1953,7 @@ static struct platform_driver spi_imx_driver = {
19531953
.driver = {
19541954
.name = DRIVER_NAME,
19551955
.of_match_table = spi_imx_dt_ids,
1956-
.pm = &imx_spi_pm,
1956+
.pm = pm_ptr(&imx_spi_pm),
19571957
},
19581958
.probe = spi_imx_probe,
19591959
.remove_new = spi_imx_remove,

0 commit comments

Comments
 (0)