]> git.karo-electronics.de Git - linux-beck.git/commit
hwmon: (exynos4_tmu) Use struct dev_pm_ops for power management
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 8 Jul 2012 19:48:15 +0000 (21:48 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 22 Jul 2012 04:48:44 +0000 (21:48 -0700)
commit08cd6753d96aebcceebe10800fede1e4830e2a48
tree450e0ad9fdd6c476b0cb267d1445c163f9c7d790
parent6d20a6c060c41a7a9c8f5bd4b9d44b8f13b78694
hwmon: (exynos4_tmu) Use struct dev_pm_ops for power management

Make the Exynos4 TMU driver define its PM callbacks through
a struct dev_pm_ops object rather than by using legacy PM hooks
in struct platform_driver.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
[linux@roeck-us.net: CONFIG_PM->CONFIG_PM_SLEEP, and remove unnecessary ()]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/exynos4_tmu.c