]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit42f9fc29bd54354f2579b160227e41f83ee95c76
tree35063359b0895997bea29408e67ccad64bc3c5e8
parent2249858bfaa881685b2897529015e0103d9da34c
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