summaryrefslogtreecommitdiffstats
path: root/drivers/spi/atmel-quadspi.c
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2022-06-09 11:42:45 +0300
committerMark Brown <broonie@kernel.org>2022-06-09 12:20:04 +0100
commitf11ec1cc46e38f0feac3721a03c21fa99167e329 (patch)
tree90b520c4d856025299e7efd1aa94ba4a262ec08c /drivers/spi/atmel-quadspi.c
parent4a2f83b7f78092a6d9e98fb5573d8f4b79c56336 (diff)
downloadlinux-stable-f11ec1cc46e38f0feac3721a03c21fa99167e329.tar.gz
linux-stable-f11ec1cc46e38f0feac3721a03c21fa99167e329.tar.bz2
linux-stable-f11ec1cc46e38f0feac3721a03c21fa99167e329.zip
spi: atmel-quadspi: use pm_ptr()
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>
Diffstat (limited to 'drivers/spi/atmel-quadspi.c')
-rw-r--r--drivers/spi/atmel-quadspi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/atmel-quadspi.c b/drivers/spi/atmel-quadspi.c
index 6a9327f3c5b4..dea8a0311aaa 100644
--- 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,