commit | c67c06939ee4a24fcad1235dd9632153533fdd4d | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Fri Apr 14 20:32:47 2017 +0200 |
committer | Sebastian Reichel <sre@kernel.org> | Mon May 01 12:37:16 2017 +0200 |
tree | aa2196d3f620f12de7b0c6388e629c161cc0eed7 | |
parent | 7f232af35620fe68746cb3da582062de965b286c [diff] |
power: supply: max17042_battery: Use sign_extend32 instead of DIY code Use sign_extend32 to sign-extend variables where necessary instead of DIY code. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>