backlight: adp8870: convert adp8870 to dev_pm_ops
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 23:17:40 +0000 (16:17 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:16 +0000 (18:28 -0700)
commit3cd4291aaf4b098d2591a72570a499d1fc9e7e53
treebfd1c664b419953674a28e725146b53d76a48104
parentcf108b5c98e1e7d88ba54667356c4d7a077a75e2
backlight: adp8870: convert adp8870 to dev_pm_ops

Instead of using legacy suspend/resume methods, using newer dev_pm_ops
structure allows better control over power management.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/adp8870_bl.c