summaryrefslogtreecommitdiff
path: root/driver/gyro_l3gd20h.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/gyro_l3gd20h.c')
-rw-r--r--driver/gyro_l3gd20h.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/driver/gyro_l3gd20h.c b/driver/gyro_l3gd20h.c
index 0986080285..5555463097 100644
--- a/driver/gyro_l3gd20h.c
+++ b/driver/gyro_l3gd20h.c
@@ -302,15 +302,6 @@ static int get_offset(const struct motion_sensor_t *s,
return EC_SUCCESS;
}
-#ifdef CONFIG_ACCEL_INTERRUPTS
-static int set_interrupt(const struct motion_sensor_t *s,
- unsigned int threshold)
-{
- /* Currently unsupported. */
- return EC_ERROR_UNKNOWN;
-}
-#endif
-
static int is_data_ready(const struct motion_sensor_t *s, int *ready)
{
int ret, tmp;
@@ -432,7 +423,4 @@ const struct accelgyro_drv l3gd20h_drv = {
.set_offset = set_offset,
.get_offset = get_offset,
.perform_calib = NULL,
-#ifdef CONFIG_ACCEL_INTERRUPTS
- .set_interrupt = set_interrupt,
-#endif
};