projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f010628
)
spi: spi-imx: Pass pm_ptr()
author
Fabio Estevam
<festevam@denx.de>
Tue, 25 Jun 2024 18:39:18 +0000
(15:39 -0300)
committer
Mark Brown
<broonie@kernel.org>
Tue, 25 Jun 2024 19:04:31 +0000
(20:04 +0100)
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>
Link:
https://patch.msgid.link/20240625183919.368770-1-festevam@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-imx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-imx.c
b/drivers/spi/spi-imx.c
index 35f5eafc1c3831dad49910640d5c32df09eedebd..85bd1a82a34eb4bc76a4b4528e087fc2ebfa8b85 100644
(file)
--- 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,