Re: [PATCH v2] backlight: Convert from Legacy pm ops to dev_pm_ops

From: Shuah Khan
Date: Mon Jan 20 2014 - 10:27:37 EST

On 01/19/2014 06:34 PM, Jingoo Han wrote:
On Monday, January 20, 2014 12:37 AM, Rafael J. Wysocki wrote:
On Wednesday, November 14, 2040 04:27:17 AM Shuah Khan wrote:
Convert drivers/video/backlight/class to use dev_pm_ops for power
management and remove Legacy PM ops hooks. With this change, rtc 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.

Signed-off-by: Shuah Khan <>
Cc: Shuah Khan <shuahkhan@xxxxxxxxx>

Can you please resend the patches that nobody took with CCs to
linux-pm@xxxxxxxxxxxxxxx? If the original maintainers don't care, I'll be
able to pick those patches up then (if they look good).

I already gave the comment, and am waiting v3 patch.
However, Shuah Khan did not send the v3 patch yet.

Currently, backlight subsystem patches go through mm-tree
With my acked-by.

Shuah Khan,
Will you send the v3 patch? As I said, there is the typo in
commit message. Please fix it.
s/rtc class/backlight class

Rafael/Jingoo Han,

I did send the v3 patch with the typo fixed. Here is the link:

This is a while back. I will rebase and res-test and send it.

-- Shuah

Shuah Khan
Senior Linux Kernel Developer - Open Source Group
Samsung Research America(Silicon Valley) | (970) 672-0658
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at