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)
commit8873c33483e62988ed886230aab71ef4c678f710
tree441cdc48497b84c823330241ecff147642e136a4
parent0ec48915e8bbb37dea3df85c41e4c3498b95664b
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