From e0a2a98b69a06fa56b30a88e87d9720c0cd2b533 Mon Sep 17 00:00:00 2001 From: Gwendal Grignou Date: Tue, 13 Mar 2018 10:37:56 -0700 Subject: driver: sensor: Remove set_resolution when NOOP set_resolution is only used for few sensors and is not exposed to the AP. Remove definition when sensors have a fixed resolution. BUG=none BRANCH=master TEST=compile, kevin has enough space for perform_calib. Change-Id: I8482387e135356467edaee44da3a0e47cf1db524 Signed-off-by: Gwendal Grignou Reviewed-on: https://chromium-review.googlesource.com/961222 Reviewed-by: Aseda Aboagye --- driver/accel_lis2dh.c | 1 - 1 file changed, 1 deletion(-) (limited to 'driver/accel_lis2dh.c') diff --git a/driver/accel_lis2dh.c b/driver/accel_lis2dh.c index 0393d95429..017621ff6a 100644 --- a/driver/accel_lis2dh.c +++ b/driver/accel_lis2dh.c @@ -397,7 +397,6 @@ const struct accelgyro_drv lis2dh_drv = { .read = read, .set_range = set_range, .get_range = get_range, - .set_resolution = st_set_resolution, .get_resolution = st_get_resolution, .set_data_rate = set_data_rate, .get_data_rate = st_get_data_rate, -- cgit v1.2.1