projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a2f83b
)
spi: atmel-quadspi: use pm_ptr()
author
Claudiu Beznea
<claudiu.beznea@microchip.com>
Thu, 9 Jun 2022 08:42:45 +0000
(11:42 +0300)
committer
Mark Brown
<broonie@kernel.org>
Thu, 9 Jun 2022 11:20:04 +0000
(12:20 +0100)
Use pm_ptr() for atmel_quadspi_pm_ops.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link:
https://lore.kernel.org/r/20220609084246.1795419-3-claudiu.beznea@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/atmel-quadspi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/atmel-quadspi.c
b/drivers/spi/atmel-quadspi.c
index
6a9327f
..
dea8a03
100644
(file)
--- a/
drivers/spi/atmel-quadspi.c
+++ b/
drivers/spi/atmel-quadspi.c
@@
-786,7
+786,7
@@
static struct platform_driver atmel_qspi_driver = {
.driver = {
.name = "atmel_qspi",
.of_match_table = atmel_qspi_dt_ids,
- .pm =
&atmel_qspi_pm_ops
,
+ .pm =
pm_ptr(&atmel_qspi_pm_ops)
,
},
.probe = atmel_qspi_probe,
.remove = atmel_qspi_remove,