Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd38059a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "input: sensors: rename the accelrometer sensors input device name"

parents 66a85690 cf26afee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@
#define ISR_INFO(dev, fmt, arg...)
#endif

#define SENSOR_NAME                 "accelerometer"
#define SENSOR_NAME                 "bma2x2-accel"
#define ABSMIN                      -512
#define ABSMAX                      512
#define SLOPE_THRESHOLD_VALUE       32
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@
#define MPU6050_ACCEL_SCALE_SHIFT_2G	4
#define MPU6050_GYRO_SCALE_SHIFT_FS0	3

#define MPU6050_DEV_NAME_ACCEL	"accelerometer"
#define MPU6050_DEV_NAME_ACCEL	"MPU6050-accel"
#define MPU6050_DEV_NAME_GYRO	"gyroscope"

enum mpu6050_place {
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@
#define LIS3DH_ACC_I2C_SAD_L	((LIS3DH_ACC_I2C_SADROOT<<1)|SAD0L)
#define LIS3DH_ACC_I2C_SAD_H	((LIS3DH_ACC_I2C_SADROOT<<1)|SAD0H)
#define	LIS3DH_ACC_DEV_NAME	"lis3dh_acc"
#define ACCEL_INPUT_DEV_NAME	"accelerometer"
#define ACCEL_INPUT_DEV_NAME	"lis3dh-accel"

/************************************************/
/*	Accelerometer defines section		*/