diff options
| author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-07-05 14:31:13 +0300 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-08-27 12:47:48 +0300 |
| commit | e764374f4b57a0e0c0221bc0188034ae9996808e (patch) | |
| tree | 14a51597ed97dc7f2628efb6a5a27bd4fda0f757 /tools/perf/scripts/python | |
| parent | a9125e868f7ad80d527cf5c69e20fa0ada96bff9 (diff) | |
| download | linux-e764374f4b57a0e0c0221bc0188034ae9996808e.tar.xz | |
power: supply: twl4030_charger: correct comparision with old current
Driver reads existing current value from two 8-bit registers, but then
compares only one of them with the new 16-bit value. clang W=1 is also
not happy:
twl4030_charger.c:243:16: error: variable 'cur_reg' set but not used [-Werror,-Wunused-but-set-variable]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240705113113.42851-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
