mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
This commit is contained in:
parent
6f93910eba
commit
ac216aa290
3 changed files with 15 additions and 0 deletions
|
|
@ -69,6 +69,7 @@ static const char * const iio_chan_type_name_spec[] = {
|
|||
[IIO_ALTVOLTAGE] = "altvoltage",
|
||||
[IIO_CCT] = "cct",
|
||||
[IIO_PRESSURE] = "pressure",
|
||||
[IIO_HUMIDITYRELATIVE] = "humidityrelative",
|
||||
};
|
||||
|
||||
static const char * const iio_modifier_names[] = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue