drivers/misc/apds9802als.c: add runtime PM support
authorHong Liu <hong.liu@intel.com>
Tue, 26 Oct 2010 21:22:42 +0000 (14:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Oct 2010 23:52:15 +0000 (16:52 -0700)
commitf0cfec11180973e4f4b2b6909623e47eaaf7ecfe
tree5ffda7ed37b00be575d0568c9fda4453685cadc0
parent22d96aa59cf120db3584e4c3365554cae77d2441
drivers/misc/apds9802als.c: add runtime PM support

Update the driver for the needed runtime power features.  Remove the old
user controlled power functions.

[akpm@linux-foundation.org: put PM code under CONFIG_PM]
Signed-off-by: Hong Liu <hong.liu@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/apds9802als.c