summaryrefslogtreecommitdiffstats
path: root/fs/proc/task_nommu.c
diff options
context:
space:
mode:
authorKrzysztof Adamski <krzysztof.adamski@nokia.com>2021-10-14 15:01:09 +0200
committerGuenter Roeck <linux@roeck-us.net>2021-10-15 15:46:45 -0700
commit45e9bda4ffc48f96e9811e158dcd610a5ec49e13 (patch)
treeca830dc667da87d1abbcff16c045a4baa75f02d9 /fs/proc/task_nommu.c
parentc1143d1bc5df2be7dafe90bfbc3cd18e9a199724 (diff)
downloadlinux-45e9bda4ffc48f96e9811e158dcd610a5ec49e13.tar.gz
linux-45e9bda4ffc48f96e9811e158dcd610a5ec49e13.tar.bz2
linux-45e9bda4ffc48f96e9811e158dcd610a5ec49e13.zip
hwmon: (tmp421) support disabling channels from DT
The previous patch introduced per channel subnodes in DT that let us specify some channel specific properties. This built a ground for easily disabling individual channels of the sensor that may not be connected to any external diode and thus are not returning any meaningful data. This patch adds support for parsing the "status" property of channels DT subnodes and makes sure the -ENODATA is returned when disabled channels value is read. Signed-off-by: Krzysztof Adamski <krzysztof.adamski@nokia.com> Link: https://lore.kernel.org/r/a85d623f0792b862870933a875bdf802f4c017f1.1634206677.git.krzysztof.adamski@nokia.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'fs/proc/task_nommu.c')
0 files changed, 0 insertions, 0 deletions