diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2024-12-02 11:28:02 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-12-14 08:00:44 -0800 |
commit | 339bca4ffdaa7267b1597e634ac6002a133ad7b8 (patch) | |
tree | b248bcf6e895ec1bd1ea3a76f7fa8096f92e25ef /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 83bed3c159f44bf2e205875feb8d932bbcf1b656 (diff) |
hwmon: (pmbus/tps25990) Add initial support
Add initial support for the Texas Instruments TPS25990 eFuse.
This adds the basic PMBUS telemetry support for the device.
From Karol Przybylski:
The tps25990_read_word_data function contains a block of unreachable code
caused by the syntactic structure in the PMBUS_VIRT_READ_IIN_MAX case.
Specifically, the return TPS25990_READ_IIN_PEAK; statement immediately
exits the function, making the next lines unreachable.
This patch removes the return statement, leaving the expected handling.
Discovered in coverity: CID 1602227
Tested-by: Vaishnav Achath <vaishnav.a@ti.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
[groeck: Adjust to MODULE_IMPORT_NS API change]
[karprzy7@gmail.com: Fix unreachable code in tps25990_read_word_data]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions