]> git.karo-electronics.de Git - linux-beck.git/commit
hwmon: (nct6775) Convert to use SIMPLE_DEV_PM_OPS
authorGuenter Roeck <linux@roeck-us.net>
Sat, 7 Feb 2015 16:48:49 +0000 (08:48 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 15 Mar 2015 15:54:05 +0000 (08:54 -0700)
commit48e9318256da995681e6420732055e34f93bddc1
treef20dea565d177107de28f8fb6fd5c44fb1d8dc63
parentf6906edeac16bb33b80d41fac84261767f18c14a
hwmon: (nct6775) Convert to use SIMPLE_DEV_PM_OPS

Get rid of #ifdef CONFIG_PM by using SIMPLE_DEV_PM_OPS and declaring suspend
and resume functions with __maybe_unused.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct6775.c