Input: bma150 - make some defines public and fix some comments
authorMichael Trimarchi <michael@amarulasolutions.com>
Fri, 15 Feb 2013 22:43:38 +0000 (14:43 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 16 Feb 2013 02:52:45 +0000 (18:52 -0800)
commit0db3863add5cb249520b31a4ad36f275a30e7ba6
tree35063359b0895997bea29408e67ccad64bc3c5e8
parent79f34d19d7d1ece9918afe079529e61f978eeebe
Input: bma150 - make some defines public and fix some comments

Make the constants referring to range and bandwidth public so they can
be used when initializing the platform data fields in the platform code.

Fix also some comments regarding the unit of measurement to use for the
range and bandwidth fields, the values are not actually expected to be
in G or HZ, the code in bma150.c just uses the BMA150_RANGE_xxx and
BMA150_BW_xxx constants like they are with no translation from actual
values in G or HZ.

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Antonio Ospite <ao2@amarulasolutions.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/bma150.c
include/linux/bma150.h