summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-04-14 20:32:48 +0200
committerSebastian Reichel <sre@kernel.org>2017-05-01 12:37:21 +0200
commit2814913c3136b41084a896c90062bd9b87672dff (patch)
treeae1956fb3969362f041d54f7cc0974780091acb5 /include/linux
parentc67c06939ee4a24fcad1235dd9632153533fdd4d (diff)
power: supply: max17047_battery: The temp alert values are 8-bit 2's complement
The temp alert values are 8-bit 2's complement, so sign-extend them before reporting them back to the caller. 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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions