From: Shuah Khan Date: Thu, 20 Jun 2013 19:08:44 +0000 (-0700) Subject: leds: Convert led class driver from legacy pm ops to dev_pm_ops X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~14^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73e1ab41a80d36207e8ea7cc2c9897afdeeef387;p=pandora-kernel.git leds: Convert led class driver from legacy pm ops to dev_pm_ops Convert drivers/leds/led-class to use dev_pm_ops for power management and remove Legacy PM ops hooks. With this change, led 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 led class. Signed-off-by: Shuah Khan Signed-off-by: Bryan Wu --- Reading git-diff-tree failed