Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iio: accel: Remove unused enum in st_accel

The st_accel_type enum is not used anywhere else in the code, and can be
removed

Suggested-by: Jonathan Cameron <Jonathan.Cameron@Huawei.com>
Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220307132502.73854-3-absicsz@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Sicelo A. Mhlongo and committed by
Jonathan Cameron
a85257f0 ce92d674

-26
-26
drivers/iio/accel/st_accel.h
··· 14 14 #include <linux/types.h> 15 15 #include <linux/iio/common/st_sensors.h> 16 16 17 - enum st_accel_type { 18 - LSM303DLH, 19 - LSM303DLHC, 20 - LIS3DH, 21 - LSM330D, 22 - LSM330DL, 23 - LSM330DLC, 24 - LIS331DLH, 25 - LSM303DL, 26 - LSM303DLM, 27 - LSM330, 28 - LSM303AGR, 29 - LIS2DH12, 30 - LIS3L02DQ, 31 - LNG2DM, 32 - H3LIS331DL, 33 - LIS331DL, 34 - LIS3LV02DL, 35 - LIS2DW12, 36 - LIS3DHH, 37 - LIS2DE12, 38 - LIS2HH12, 39 - SC7A20, 40 - ST_ACCEL_MAX, 41 - }; 42 - 43 17 #define H3LIS331DL_ACCEL_DEV_NAME "h3lis331dl_accel" 44 18 #define LIS3LV02DL_ACCEL_DEV_NAME "lis3lv02dl_accel" 45 19 #define LSM303DLHC_ACCEL_DEV_NAME "lsm303dlhc_accel"