leds: convert bd2802 driver to dev_pm_ops
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 22 Mar 2011 23:30:14 +0000 (16:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Mar 2011 00:43:58 +0000 (17:43 -0700)
commit551ea73838c5eba18d673bd4e7fb0fec77cdcb8a
tree93cc18d1a12ca9a7248cf005fe64a6c5aa67fdee
parent8d2587970b8bdf7c8d9208e3f4bb93182aef1a0f
leds: convert bd2802 driver to dev_pm_ops

There is a move to deprecate bus-specific PM operations and move to using
dev_pm_ops instead in order to reduce the amount of boilerplate code in
buses and facilitiate updates to the PM core.  Do this move for the bs2802
driver.

[akpm@linux-foundation.org: fix warnings]
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Kim Kyuwon <q1.kim@samsung.com>
Cc: Kim Kyuwon <chammoru@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/leds/leds-bd2802.c