]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (adt7410) Let suspend/resume depend on CONFIG_PM_SLEEP
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 15 Feb 2013 16:57:11 +0000 (17:57 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 20 Feb 2013 01:34:15 +0000 (17:34 -0800)
commit80cac9def7adb22f2fca21560f596b4488e36216
treecdd4437aa79bc5a3907c0d3b68ceabd9498d9f23
parentd94a2c1c8fcf77d8bd086ad48201fa4ae219ce2a
hwmon: (adt7410) Let suspend/resume depend on CONFIG_PM_SLEEP

Only build the suspend/resume code if CONFIG_PM_SLEEP is selected. Currently the
code is built if CONFIG_PM is selected, but it will also be selected if only
runtime PM support is built into the kernel.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7410.c