summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/adt7310.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/adt7310.c')
-rw-r--r--drivers/hwmon/adt7310.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/adt7310.c b/drivers/hwmon/adt7310.c
index 1efc0bdcceab..067865f4887a 100644
--- a/drivers/hwmon/adt7310.c
+++ b/drivers/hwmon/adt7310.c
@@ -152,7 +152,7 @@ MODULE_DEVICE_TABLE(spi, adt7310_id);
static struct spi_driver adt7310_driver = {
.driver = {
.name = "adt7310",
- .pm = ADT7X10_DEV_PM_OPS,
+ .pm = pm_sleep_ptr(&adt7x10_dev_pm_ops),
},
.probe = adt7310_spi_probe,
.id_table = adt7310_id,