diff options
author | Harald Geyer <harald@ccbib.org> | 2013-12-01 10:08:00 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-12-03 15:22:29 -0500 |
commit | ac216aa290c48a5e9d7b9f2473abb977a175683a (patch) | |
tree | 9292b2f5794f8620eb19cc6c0f6f34be04b77fd5 /drivers/iio | |
parent | 6f93910ebae3f0ca4c0db1ba098d1635618b9c2f (diff) |
iio: Add support for humidity sensors
There are already humidity sensors in the hwmon subsystem,
so we use their unit (milli percent) here as well.
Signed-off-by: Harald Geyer <harald@ccbib.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r-- | drivers/iio/industrialio-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c index 2fe88c189f74..acc911a836ca 100644 --- a/drivers/iio/industrialio-core.c +++ b/drivers/iio/industrialio-core.c | |||
@@ -69,6 +69,7 @@ static const char * const iio_chan_type_name_spec[] = { | |||
69 | [IIO_ALTVOLTAGE] = "altvoltage", | 69 | [IIO_ALTVOLTAGE] = "altvoltage", |
70 | [IIO_CCT] = "cct", | 70 | [IIO_CCT] = "cct", |
71 | [IIO_PRESSURE] = "pressure", | 71 | [IIO_PRESSURE] = "pressure", |
72 | [IIO_HUMIDITYRELATIVE] = "humidityrelative", | ||
72 | }; | 73 | }; |
73 | 74 | ||
74 | static const char * const iio_modifier_names[] = { | 75 | static const char * const iio_modifier_names[] = { |