diff options
author | Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> | 2017-05-14 17:45:44 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-05-14 17:52:33 +0200 |
commit | b7079eeac5da0d50a89a73969ff390e8cdecec44 (patch) | |
tree | 77cb44bdd5e370bf8345d21e130a16daa5861958 /drivers/iio/humidity/hts221_i2c.c | |
parent | iio: adc: add driver for the ti-adc084s021 chip (diff) | |
download | linux-b7079eeac5da0d50a89a73969ff390e8cdecec44.tar.xz linux-b7079eeac5da0d50a89a73969ff390e8cdecec44.zip |
iio: humidity: hts221: add power management support
Add system sleep power management support to hts221 driver
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/humidity/hts221_i2c.c')
-rw-r--r-- | drivers/iio/humidity/hts221_i2c.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/humidity/hts221_i2c.c b/drivers/iio/humidity/hts221_i2c.c index 8333c0296c0e..f38e4b7e0160 100644 --- a/drivers/iio/humidity/hts221_i2c.c +++ b/drivers/iio/humidity/hts221_i2c.c @@ -105,6 +105,7 @@ MODULE_DEVICE_TABLE(i2c, hts221_i2c_id_table); static struct i2c_driver hts221_driver = { .driver = { .name = "hts221_i2c", + .pm = &hts221_pm_ops, .of_match_table = of_match_ptr(hts221_i2c_of_match), .acpi_match_table = ACPI_PTR(hts221_acpi_match), }, |