sensor: lsm9ds0: Remove unused define/Kconfig symbol

We use DT to get the I2C address, so the define that got it from a
Kconfig sybmol isn't used and the Kconfig symbol isnt defined.  Remove
this dead code.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2019-01-31 04:22:12 -06:00 committed by Kumar Gala
commit 13fd996178
2 changed files with 0 additions and 4 deletions

View file

@ -186,8 +186,6 @@
BIT(0)) BIT(0))
#define LSM9DS0_GYRO_SHIFT_INT1_DURATION_G_D 0 #define LSM9DS0_GYRO_SHIFT_INT1_DURATION_G_D 0
#define LSM9DS0_GYRO_I2C_ADDR CONFIG_LSM9DS0_GYRO_I2C_ADDR
#if defined(CONFIG_LSM9DS0_GYRO_FULLSCALE_245) #if defined(CONFIG_LSM9DS0_GYRO_FULLSCALE_245)
#define LSM9DS0_GYRO_DEFAULT_FULLSCALE 0 #define LSM9DS0_GYRO_DEFAULT_FULLSCALE 0
#elif defined(CONFIG_LSM9DS0_GYRO_FULLSCALE_500) #elif defined(CONFIG_LSM9DS0_GYRO_FULLSCALE_500)

View file

@ -394,8 +394,6 @@
BIT(1) | BIT(0)) BIT(1) | BIT(0))
#define LMS9DS0_MFD_SHIFT_ACT_DUR_ACTD 0 #define LMS9DS0_MFD_SHIFT_ACT_DUR_ACTD 0
#define LSM9DS0_MFD_I2C_ADDR CONFIG_LSM9DS0_MFD_I2C_ADDR
#if defined(CONFIG_LSM9DS0_MFD_ACCEL_SAMPLING_RATE_0) #if defined(CONFIG_LSM9DS0_MFD_ACCEL_SAMPLING_RATE_0)
#define LSM9DS0_MFD_ACCEL_DEFAULT_AODR 0 #define LSM9DS0_MFD_ACCEL_DEFAULT_AODR 0
#elif defined(CONFIG_LSM9DS0_MFD_ACCEL_SAMPLING_RATE_3_125) #elif defined(CONFIG_LSM9DS0_MFD_ACCEL_SAMPLING_RATE_3_125)