]> git.karo-electronics.de Git - karo-tx-linux.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>
Fri, 15 Feb 2013 20:01:42 +0000 (12:01 -0800)
commit218c9a110e5f70fb77b02ae81d962f371a74f296
treeb49683919e49e57c0b7814fa9d4249956b10ee3f
parent1c2f97ae84956783db707e0cc49137366069b238
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>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7410.c