Skip to content

Commit 511c81e

Browse files
pmeerwjic23
authored andcommitted
staging:iio:hmc5843: Remove unused LSB register #defines
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
1 parent d4dc0a3 commit 511c81e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

drivers/staging/iio/magnetometer/hmc5843.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,11 @@
2929
#define HMC5843_CONFIG_REG_B 0x01
3030
#define HMC5843_MODE_REG 0x02
3131
#define HMC5843_DATA_OUT_X_MSB_REG 0x03
32-
#define HMC5843_DATA_OUT_X_LSB_REG 0x04
3332
#define HMC5843_DATA_OUT_Y_MSB_REG 0x05
34-
#define HMC5843_DATA_OUT_Y_LSB_REG 0x06
3533
#define HMC5843_DATA_OUT_Z_MSB_REG 0x07
36-
#define HMC5843_DATA_OUT_Z_LSB_REG 0x08
3734
/* Beware: Y and Z are exchanged on HMC5883 */
3835
#define HMC5883_DATA_OUT_Z_MSB_REG 0x05
39-
#define HMC5883_DATA_OUT_Z_LSB_REG 0x06
4036
#define HMC5883_DATA_OUT_Y_MSB_REG 0x07
41-
#define HMC5883_DATA_OUT_Y_LSB_REG 0x08
4237
#define HMC5843_STATUS_REG 0x09
4338

4439
enum hmc5843_ids {
@@ -61,8 +56,6 @@ enum hmc5843_ids {
6156
*/
6257
#define HMC5843_DATA_READY 0x01
6358
#define HMC5843_DATA_OUTPUT_LOCK 0x02
64-
/* Does not exist on HMC5883, not used */
65-
#define HMC5843_VOLTAGE_REGULATOR_ENABLED 0x04
6659

6760
/*
6861
* Mode register configuration

0 commit comments

Comments
 (0)