linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/6] staging:iio:ad7291 remove double define
@ 2014-07-08 11:06 Hartmut Knaack
  2014-07-08 13:26 ` Lars-Peter Clausen
  0 siblings, 1 reply; 3+ messages in thread
From: Hartmut Knaack @ 2014-07-08 11:06 UTC (permalink / raw)
  To: linux-iio; +Cc: Jonathan Cameron, Lars-Peter Clausen

Remove second instance of definition of AD7291_BITS.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
---
diff --git a/drivers/staging/iio/adc/ad7291.c b/drivers/staging/iio/adc/ad7291.c
index 7194bd1..c08b258 100644
--- a/drivers/staging/iio/adc/ad7291.c
+++ b/drivers/staging/iio/adc/ad7291.c
@@ -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;

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/6] staging:iio:ad7291 remove double define
  2014-07-08 11:06 [PATCH 1/6] staging:iio:ad7291 remove double define Hartmut Knaack
@ 2014-07-08 13:26 ` Lars-Peter Clausen
  2014-07-08 18:06   ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Lars-Peter Clausen @ 2014-07-08 13:26 UTC (permalink / raw)
  To: Hartmut Knaack, linux-iio; +Cc: Jonathan Cameron

On 07/08/2014 01:06 PM, Hartmut Knaack wrote:
> Remove second instance of definition of AD7291_BITS.
>
> Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>

All patches in this series:

Acked-by: Lars-Peter Clausen <lars@metafoo.de>

Thanks.

> ---
> diff --git a/drivers/staging/iio/adc/ad7291.c b/drivers/staging/iio/adc/ad7291.c
> index 7194bd1..c08b258 100644
> --- a/drivers/staging/iio/adc/ad7291.c
> +++ b/drivers/staging/iio/adc/ad7291.c
> @@ -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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/6] staging:iio:ad7291 remove double define
  2014-07-08 13:26 ` Lars-Peter Clausen
@ 2014-07-08 18:06   ` Jonathan Cameron
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2014-07-08 18:06 UTC (permalink / raw)
  To: Lars-Peter Clausen, Hartmut Knaack, linux-iio

On 08/07/14 14:26, Lars-Peter Clausen wrote:
> On 07/08/2014 01:06 PM, Hartmut Knaack wrote:
>> Remove second instance of definition of AD7291_BITS.
>>
>> Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
>
> All patches in this series:
>
> Acked-by: Lars-Peter Clausen <lars@metafoo.de>

Applied to the togreg branch of iio.git.

Thanks

Jonathan
> Thanks.
>
>> ---
>> diff --git a/drivers/staging/iio/adc/ad7291.c b/drivers/staging/iio/adc/ad7291.c
>> index 7194bd1..c08b258 100644
>> --- a/drivers/staging/iio/adc/ad7291.c
>> +++ b/drivers/staging/iio/adc/ad7291.c
>> @@ -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 majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-08 18:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-08 11:06 [PATCH 1/6] staging:iio:ad7291 remove double define Hartmut Knaack
2014-07-08 13:26 ` Lars-Peter Clausen
2014-07-08 18:06   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).