diff options
author | Haowen Bai <baihaowen@meizu.com> | 2022-03-10 18:29:29 +0800 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-05-08 08:14:51 +0200 |
commit | 1aa75bf5174c8243505a27476422060fce630cb1 (patch) | |
tree | 28c6f469b346797c2a0e71e3984a30a9955423d8 /drivers/mfd | |
parent | 83f3fcf96fcc7e5405b37d9424c7ef26bfa203f8 (diff) | |
download | linux-stable-1aa75bf5174c8243505a27476422060fce630cb1.tar.gz linux-stable-1aa75bf5174c8243505a27476422060fce630cb1.tar.bz2 linux-stable-1aa75bf5174c8243505a27476422060fce630cb1.zip |
w1: w1_therm: Use max() instead of doing it manually
Fix following coccicheck warning:
drivers/w1/slaves/w1_therm.c:1452:18-19: WARNING opportunity for max()
Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Link: https://lore.kernel.org/r/1646908169-8050-1-git-send-email-baihaowen@meizu.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions