diff options
author | Fabio Estevam <festevam@denx.de> | 2024-06-25 15:39:19 -0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-06-25 20:04:32 +0100 |
commit | 14201399457ce5314224c2898c936bfaa5849fcb (patch) | |
tree | b31d6bfde594d7329038337fdf2b23af27114a46 /drivers/spi/spi-fsl-lpspi.c | |
parent | 2d4e40dcdc5590550704681f1b147c3dadfdbf31 (diff) | |
download | lwn-14201399457ce5314224c2898c936bfaa5849fcb.tar.gz lwn-14201399457ce5314224c2898c936bfaa5849fcb.zip |
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: 6765e859fac9 ("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>
Diffstat (limited to 'drivers/spi/spi-fsl-lpspi.c')
-rw-r--r-- | drivers/spi/spi-fsl-lpspi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-fsl-lpspi.c b/drivers/spi/spi-fsl-lpspi.c index 2908a5532482..32baa14dfd83 100644 --- a/drivers/spi/spi-fsl-lpspi.c +++ b/drivers/spi/spi-fsl-lpspi.c @@ -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, |