Skip to contentSkip to conversation

staging:iio:ad7291 remove double define

PATCH Applied Hartmut Knaack 3 participants 3 messages Jul 8, 2014

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/6 staging:iio:ad7291 remove double define

Remove second instance of definition of AD7291_BITS.

---

drivers/staging/iio/adc/ad7291.c +0 -2
index 7194bd1..c08b258 100644
@@ -73,8 +73,6 @@
 #define AD7291_T_VALUE_FLOAT_OFFSET	2
 #define AD7291_T_VALUE_FLOAT_MASK	0x2
 
-#define AD7291_BITS			12
-
 struct ad7291_chip_info {
 	struct i2c_client	*client;
 	struct regulator	*reg;
Acked-by on v1 1/6
#1 lore raw
Quoted 3 lines · Hartmut Knaack

Remove second instance of definition of AD7291_BITS.

All patches in this series:

Thanks.

Quoted 19 lines

---

drivers/staging/iio/adc/ad7291.c +0 -3
index 7194bd1..c08b258 100644
@@ -73,8 +73,6 @@
  #define AD7291_T_VALUE_FLOAT_OFFSET	2
  #define AD7291_T_VALUE_FLOAT_MASK	0x2
 
-#define AD7291_BITS			12
-
  struct ad7291_chip_info {
  	struct i2c_client	*client;
  	struct regulator	*reg;
--

To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

maintainer Applied
#2 lore raw
Quoted 8 lines · Lars-Peter Clausen
Quoted 3 lines · Hartmut Knaack

Remove second instance of definition of AD7291_BITS.

All patches in this series:

Applied to the togreg branch of iio.git.

Thanks

Jonathan

Quoted 22 lines

Thanks.

Quoted 19 lines

---

drivers/staging/iio/adc/ad7291.c +0 -3
index 7194bd1..c08b258 100644
@@ -73,8 +73,6 @@
  #define AD7291_T_VALUE_FLOAT_OFFSET    2
  #define AD7291_T_VALUE_FLOAT_MASK    0x2
 
-#define AD7291_BITS            12
-
  struct ad7291_chip_info {
      struct i2c_client    *client;
      struct regulator    *reg;
--

To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html