Commit d48d4e4f authored by Qianfeng Rong's avatar Qianfeng Rong Committed by Sebastian Reichel
Browse files

power: supply: use max() to improve code



Use max() to reduce the code in cw_battery_get_property() and improve
its readability.

Signed-off-by: default avatarQianfeng Rong <rongqianfeng@vivo.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 15a84d15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment