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

2013-06-06 Thread Jingoo Han
On Friday, June 07, 2013 6:28 AM, Arnd Bergmann wrote: > On Monday 03 June 2013 13:10:10 Jingoo Han wrote: > > On Sunday, June 02, 2013 8:07 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

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

2013-06-06 Thread Arnd Bergmann
On Monday 03 June 2013 13:10:10 Jingoo Han wrote: > On Sunday, June 02, 2013 8:07 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, backlight > > class registers suspend/resume callbacks

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

2013-06-02 Thread Jingoo Han
On Sunday, June 02, 2013 8:07 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, backlight > class registers suspend/resume callbacks via class->pm (dev_pm_ops) > instead of Legacy class->suspen

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

2013-06-01 Thread Shuah Khan
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