]> git.baikalelectronics.ru Git - kernel.git/commit
lis3: add free-fall/wakeup function via platform_data
authorDaniel Mack <daniel@caiaq.de>
Tue, 22 Sep 2009 00:04:43 +0000 (17:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Sep 2009 14:17:48 +0000 (07:17 -0700)
commit913d51056107abc8097f4f3b0d5b2b39b8ca1ba5
tree441cdc48497b84c823330241ecff147642e136a4
parentf5e5c593c18d896e3cd998fb09bbd149234e36ce
lis3: add free-fall/wakeup function via platform_data

This offers a way for platforms to define flags and thresholds for the
free-fall/wakeup functions of the lis302d chips.

More registers needed to be seperated as they are specific to the

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: Eric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/hwmon/lis3lv02d.c
drivers/hwmon/lis3lv02d.h
include/linux/lis3lv02d.h