]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit52c63a0dc817dc3e14f9342dcd243a7c77f19bae
tree555ff9df99dcea4db2b82a8d3718475be1626f11
parent0289384416a36a5f0935e7b8172221f051d98b26
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