iio: imu: st_lsm6dsx: add wakeup_source in st_sensors_platform_data
authorLorenzo Bianconi <lorenzo@kernel.org>
Sun, 6 Oct 2019 13:22:04 +0000 (15:22 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 15 Oct 2019 20:11:05 +0000 (21:11 +0100)
commitb7a73b33bb39575848df66c4bff09cd281652882
treea1aa43aa68ed5b347010f30d7aeeb988ee3a80bf
parentb307f495468b455d3f85f8715e5b7cd83937a76a
iio: imu: st_lsm6dsx: add wakeup_source in st_sensors_platform_data

Add the possibility to enable/disable wakeup source through
st_sensors_platform_data and not only through device tree

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c
include/linux/platform_data/st_sensors_pdata.h