Shuah Khan 3601792e7b backlight: convert from legacy pm ops to dev_pm_ops
Convert drivers/video/backlight/class to use dev_pm_ops for power
management and remove Legacy PM ops hooks.

With this change, backlight class registers suspend/resume callbacks via
class->pm (dev_pm_ops) instead of Legacy class->suspend/resume.  When
__device_suspend() runs call-backs, it will find class->pm ops for the
backlight class.

[jg1.han@samsung.com: add CONFIG_PM_SLEEP to suspend/resume functions]
Signed-off-by: Shuah Khan <shuah.kh@samsung.com>
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: Shuah Khan <shuahkhan@gmail.com>
Cc: Jingoo Han <jg1.han@samsung.com>
Cc: Shuah Khan <shuahkhan@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-07-03 16:07:43 -07:00
..
2013-02-22 23:31:31 -05:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2013-04-18 13:03:53 +10:00
2013-02-22 23:31:31 -05:00
2013-04-24 08:41:41 +03:00
2013-04-26 08:28:56 +03:00
2013-03-20 16:26:32 +01:00
2013-04-12 14:01:40 +10:00
2013-05-02 14:59:21 +03:00
2013-04-12 15:21:36 +02:00
2013-04-24 08:41:42 +03:00
2013-04-26 08:28:56 +03:00
2013-04-12 15:21:36 +02:00
2013-04-26 08:28:56 +03:00
2013-04-26 08:28:56 +03:00