diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2024-12-02 13:28:02 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-12-14 19:00:44 +0300 |
commit | 339bca4ffdaa7267b1597e634ac6002a133ad7b8 (patch) | |
tree | b248bcf6e895ec1bd1ea3a76f7fa8096f92e25ef /scripts/lib/kdoc/kdoc_files.py | |
parent | 83bed3c159f44bf2e205875feb8d932bbcf1b656 (diff) | |
download | linux-339bca4ffdaa7267b1597e634ac6002a133ad7b8.tar.xz |
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions