drivers/misc/apds9802als.c: put the device into runtime suspend after resume()/probe...
authorHong Liu <hong.liu@intel.com>
Tue, 22 Mar 2011 23:33:59 +0000 (16:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Mar 2011 00:44:10 +0000 (17:44 -0700)
commit4e6735992392ecd393674119aef9ec7bff9be5b0
tree555ff9df99dcea4db2b82a8d3718475be1626f11
parentb9500546d5f85b56359657e1f78334db8de851fd
drivers/misc/apds9802als.c: put the device into runtime suspend after resume()/probe() is handled

Put the device into runtime suspend after resume()/probe() is handled by
the PM core and the device core code.  No need to manually add them in
each single driver.  And correct the runtime state in remove().

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