commit | b0e4aa97ea4b58881b85697a6f5628d1839d8e59 | [log] [tgz] |
---|---|---|
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | Fri Apr 03 22:20:34 2020 +0200 |
committer | Sebastian Reichel <sre@kernel.org> | Fri May 01 15:43:04 2020 +0200 |
tree | c104feb08e94d129f4e8dd014e01bea0fc26ce5b | |
parent | 6b20464ad9fb5fd76ef6f219ce62156aa9639dcc [diff] |
power: supply: core: hide unused HWMON labels Currently HWMON emulation shows all labels (temp and ambient temp) regardless if power supply supports reading the values. Check that at least one property is enabled for each label. Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>