Input: bma150 - use sign_extend32() for sign extending
authorMartin Kepplinger <martink@posteo.de>
Mon, 6 Jul 2015 22:52:21 +0000 (15:52 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 7 Jul 2015 18:32:35 +0000 (11:32 -0700)
commitb7e79329c4e34d63cd374e603ece91f2b2c3331e
tree08c3ef6238cb87482588e77b524d095ce0ac5424
parentd55d0b56b9c3a0d94ca6cc1643063610c138dde9
Input: bma150 - use sign_extend32() for sign extending

Despite it's name, sign_extend32() is used for 16 bit values aswell.

Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/bma150.c