misc: akm8975: Sevearl fixes to akm8975 driver
authorRebecca Schultz Zavin <rebecca@android.com>
Wed, 25 Aug 2010 20:46:38 +0000 (13:46 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:33:46 +0000 (16:33 -0700)
commitc89c91442de9cdca2f36d8fcec9cba827d92310b
treefd984d35cf86f663e3dc3ee5d67186bb219bab57
parentdf7b5f584fb020da3373fb97f529a121bd60c89e
misc: akm8975: Sevearl fixes to akm8975 driver

-Remove early suspend/resume handlers, allow userspace to set
policy on sensor enable/disable
-Use regulator api instead of calls into the board file to
control power

Change-Id: I0550a1bc9ee37f93ba02a7024afb6c44ababbe9d
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
drivers/misc/akm8975.c