diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2016-11-04 17:00:47 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-11-08 17:12:18 -0800 |
commit | bf4e1db093d7051491001e59195d30a915785066 (patch) | |
tree | 111645b40e13ce791e52a689bec141a01898924e /include/accelgyro.h | |
parent | 9b67ffcd527c6244a9f1946072f40e8e9fd9b940 (diff) | |
download | chrome-ec-bf4e1db093d7051491001e59195d30a915785066.tar.gz |
driver: sensor: Remove set_interrupt
Remove set_interrupt(), was always a noop.
Unused, interrupt is done inside the init routine.
BUG=none
BRANCH=none
TEST=buildall
Change-Id: I0ff4843212ea8140be41dcd17af130991117e3da
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/407968
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'include/accelgyro.h')
-rw-r--r-- | include/accelgyro.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/accelgyro.h b/include/accelgyro.h index 699fcda6df..0432a0e896 100644 --- a/include/accelgyro.h +++ b/include/accelgyro.h @@ -91,16 +91,6 @@ struct accelgyro_drv { int (*perform_calib)(const struct motion_sensor_t *s); #ifdef CONFIG_ACCEL_INTERRUPTS /** - * Setup a one-time accel interrupt. If the threshold is low enough, the - * interrupt may trigger due simply to noise and not any real motion. - * If the threshold is 0, the interrupt will fire immediately. - * @s Pointer to sensor data. - * @threshold Threshold for interrupt in units of counts. - */ - int (*set_interrupt)(const struct motion_sensor_t *s, - unsigned int threshold); - - /** * handler for interrupts triggered by the sensor: it runs in task and * process the events that triggered an interrupt. * @s Pointer to sensor data. |