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:Qianfeng Rong <rongqianfeng@vivo.com> Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
Loading
Please sign in to comment