summaryrefslogtreecommitdiffstats
path: root/drivers/iio/chemical/scd30_serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/chemical/scd30_serial.c')
-rw-r--r--drivers/iio/chemical/scd30_serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/chemical/scd30_serial.c b/drivers/iio/chemical/scd30_serial.c
index 568b34486c44..8664f3ce6b33 100644
--- a/drivers/iio/chemical/scd30_serial.c
+++ b/drivers/iio/chemical/scd30_serial.c
@@ -252,7 +252,7 @@ static struct serdev_device_driver scd30_serdev_driver = {
.driver = {
.name = KBUILD_MODNAME,
.of_match_table = scd30_serdev_of_match,
- .pm = &scd30_pm_ops,
+ .pm = pm_sleep_ptr(&scd30_pm_ops),
},
.probe = scd30_serdev_probe,
};