linux/drivers/iio/accel
Irina Tirdea c75b8dc84f iio: accel: kxcjk-1013: only set power state if CONFIG_PM is defined
When CONFIG_PM is not defined and the driver tries to power off the device,
kxcjk1013_set_power_state will call pm_runtime_put_autosuspend, which is
not implemented (wil return -ENOSYS).

Only call pm_runtime calls to change power state  when CONFIG_PM is defined.

Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2014-12-12 12:28:27 +00:00
..
Kconfig iio:bma180: Add BMA250 chip support 2014-09-14 20:52:25 +01:00
Makefile
bma180.c staging: iio: fix up merge error 2014-09-22 07:54:10 -07:00
bmc150-accel.c
hid-sensor-accel-3d.c
kxcjk-1013.c iio: accel: kxcjk-1013: only set power state if CONFIG_PM is defined 2014-12-12 12:28:27 +00:00
kxsd9.c
mma8452.c
st_accel.h iio:accel: Removed unnecessary parameter on common_probe function 2014-10-04 11:24:33 +01:00
st_accel_buffer.c
st_accel_core.c iio:accel: Removed unnecessary parameter on common_probe function 2014-10-04 11:24:33 +01:00
st_accel_i2c.c iio:common: Set the device pointer into ST common sensors library 2014-10-04 11:26:21 +01:00
st_accel_spi.c iio:common: Set the device pointer into ST common sensors library 2014-10-04 11:26:21 +01:00