summaryrefslogtreecommitdiff
path: root/drivers/hwmon/ltc2947-spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/ltc2947-spi.c')
-rw-r--r--drivers/hwmon/ltc2947-spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/ltc2947-spi.c b/drivers/hwmon/ltc2947-spi.c
index c24ca569db1b..a33be110098c 100644
--- a/drivers/hwmon/ltc2947-spi.c
+++ b/drivers/hwmon/ltc2947-spi.c
@@ -38,7 +38,7 @@ static struct spi_driver ltc2947_driver = {
.driver = {
.name = "ltc2947",
.of_match_table = ltc2947_of_match,
- .pm = &ltc2947_pm_ops,
+ .pm = pm_sleep_ptr(&ltc2947_pm_ops),
},
.probe = ltc2947_probe,
.id_table = ltc2947_id,