commit | 6d20a6c060c41a7a9c8f5bd4b9d44b8f13b78694 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rjw@sisk.pl> | Sun Jul 08 00:01:03 2012 +0200 |
committer | Guenter Roeck <linux@roeck-us.net> | Sat Jul 21 21:48:44 2012 -0700 |
tree | 7a319d71dc26e868def844fde878bcdc3677eabf | |
parent | c248f24cffc3d6692f428ccc9f2ba76cea1fa6ab [diff] |
hwmon: (gpio-fan) Use struct dev_pm_ops for power management Make the gpio-fan 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>