linux_dsm_epyc7002/drivers/iio/common/hid-sensors
Arnd Bergmann 2e1f44d8a7 iio: hid-sensors: avoid unused function warning
A small rework of the PM code in this driver introduced a harmless
warning when CONFIG_PM_SLEEP is not set:

drivers/iio/common/hid-sensors/hid-sensor-trigger.c:212:12: error: 'hid_sensor_resume' defined but not used [-Werror=unused-function]

This removes the #ifdef and instead marks all three PM functions
as __maybe_unused, which covers all possible cases and is harder
to get wrong.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 7f6cf74145 ("iio: hid-sensors: use asynchronous resume")
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-08-29 19:54:08 +01:00
..
hid-sensor-attributes.c HID: hid-sensor-hub: Enhance feature report set API 2015-02-23 15:20:00 +01:00
hid-sensor-trigger.c iio: hid-sensors: avoid unused function warning 2016-08-29 19:54:08 +01:00
hid-sensor-trigger.h iio: hid_sensor_hub: Common PM functions 2015-01-25 22:55:39 +00:00
Kconfig iio: hid-sensors: Fix power and report state 2013-12-02 21:05:32 +00:00
Makefile iio: hid-sensors: respect CONFIG_IIO_TRIGGER 2012-12-27 10:59:50 +00:00