diff mbox series

[1/2] spi: spi-imx: Pass pm_ptr()

Message ID 20240625183919.368770-1-festevam@gmail.com (mailing list archive)
State Accepted
Commit 2d4e40dcdc5590550704681f1b147c3dadfdbf31
Headers show
Series [1/2] spi: spi-imx: Pass pm_ptr() | expand

Commit Message

Fabio Estevam June 25, 2024, 6:39 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

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: a93f089ccf82 ("spi: spi-imx: Switch to RUNTIME_PM_OPS/SYSTEM_SLEEP_PM_OPS()")
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 drivers/spi/spi-imx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mark Brown June 25, 2024, 9:23 p.m. UTC | #1
On Tue, 25 Jun 2024 15:39:18 -0300, Fabio Estevam wrote:
> After coverting to RUNTIME_PM_OPS/SYSTEM_SLEEP_PM_OPS, it is necessary
> to pass pm_ptr() to the PM operations.
> 
> Fix it accordingly.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/2] spi: spi-imx: Pass pm_ptr()
      commit: 2d4e40dcdc5590550704681f1b147c3dadfdbf31
[2/2] spi: spi-fsl-lpspi: Pass pm_ptr()
      commit: 14201399457ce5314224c2898c936bfaa5849fcb

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

diff --git a/drivers/spi/spi-imx.c b/drivers/spi/spi-imx.c
index caf36fb785b3..4b325220a7ab 100644
--- a/drivers/spi/spi-imx.c
+++ b/drivers/spi/spi-imx.c
@@ -1953,7 +1953,7 @@  static struct platform_driver spi_imx_driver = {
 	.driver = {
 		   .name = DRIVER_NAME,
 		   .of_match_table = spi_imx_dt_ids,
-		   .pm = &imx_spi_pm,
+		   .pm = pm_ptr(&imx_spi_pm),
 	},
 	.probe = spi_imx_probe,
 	.remove_new = spi_imx_remove,