linux/drivers/iio/temperature
Crt Mori 4e61514036 iio: temperature: mlx90632 Change return value of sensor measurement channel
The current EINVAL value is more applicable to embedded library, where
user can actually put the fixed value to the sensor. In case of the
driver if the value of the channel is invalid it is better in inform
userspace that Channel was out of range as that implies more to internal
driver error than invalid input. It also makes for easier debugging of
where the error comes from during the development.

Signed-off-by: Crt Mori <cmo@melexis.com>
Link: https://lore.kernel.org/r/565d4df2592d751dc0f40908f2569b7c9af8e56e.1663834141.git.cmo@melexis.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2022-11-23 19:43:57 +00:00
..
hid-sensor-temperature.c
iqs620at-temp.c
Kconfig
ltc2983.c iio: temperature: ltc2983: allocate iio channels once 2022-10-17 08:51:26 +01:00
Makefile
max31856.c iio: temperature: max31856: Make use of device properties 2022-04-28 19:22:55 +01:00
max31865.c iio: temp: max31865: Fix alignment for DMA safety 2022-06-14 11:53:19 +01:00
maxim_thermocouple.c iio: temp: maxim_thermocouple: Fix alignment for DMA safety 2022-06-14 11:53:19 +01:00
mlx90614.c Char/Misc and other driver changes for 6.1-rc1 2022-10-08 08:56:37 -07:00
mlx90632.c iio: temperature: mlx90632 Change return value of sensor measurement channel 2022-11-23 19:43:57 +00:00
tmp006.c
tmp007.c iio:temperature:tmp007: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc 2022-02-18 11:46:03 +00:00
tmp117.c
tsys01.c
tsys02d.c