]> git.karo-electronics.de Git - linux-beck.git/commit
lis3lv02d: DT: use s32 to support negative values
authorSebastian Reichel <sre@kernel.org>
Fri, 27 Mar 2015 14:39:43 +0000 (15:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 14:20:54 +0000 (16:20 +0200)
commitcdcd6f824ecb6b5e5fd6729c2552c1254012c3ca
treeea3d5b02a4437c3324bf438e60450dfbc0f0820f
parent797f88c987b02a8de8d4fac94ec2877b92ec35a2
lis3lv02d: DT: use s32 to support negative values

st,axis-{x,y,z} can be negative to imply inverted
axis.

Apart from that the minimal and maximal threshold
may be negative.

Signed-off-by: Sebastian Reichel <sre@kernel.org>
Reviewed-by: Éric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/lis3lv02d/lis3lv02d.c