Re: [PATCH] iio:tcs4531: Fix leftover TCS3472_ prefix in tsl4531 driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16/04/15 09:28, Daniel Baluta wrote:
> 
> 
> On 04/15/2015 11:39 PM, Peter Meerwald wrote:
>> just cleanup, no functional change
> 
> Commit message tag should be now "iio: tsl4531: ". Other than that
> it looks good to me.
> 
Good spot to both of you ;)

Anyhow, applied with patch title fixed to the togreg branch of iio.git.

Thanks,
> 
>>
>> Signed-off-by: Peter Meerwald <pmeerw@xxxxxxxxxx>
>> ---
>>   drivers/iio/light/tsl4531.c | 10 +++++-----
>>   1 file changed, 5 insertions(+), 5 deletions(-)
>>
>> diff --git a/drivers/iio/light/tsl4531.c b/drivers/iio/light/tsl4531.c
>> index 0763b86..63c26e2 100644
>> --- a/drivers/iio/light/tsl4531.c
>> +++ b/drivers/iio/light/tsl4531.c
>> @@ -24,12 +24,12 @@
>>
>>   #define TSL4531_DRV_NAME "tsl4531"
>>
>> -#define TCS3472_COMMAND BIT(7)
>> +#define TSL4531_COMMAND BIT(7)
>>
>> -#define TSL4531_CONTROL (TCS3472_COMMAND | 0x00)
>> -#define TSL4531_CONFIG (TCS3472_COMMAND | 0x01)
>> -#define TSL4531_DATA (TCS3472_COMMAND | 0x04)
>> -#define TSL4531_ID (TCS3472_COMMAND | 0x0a)
>> +#define TSL4531_CONTROL (TSL4531_COMMAND | 0x00)
>> +#define TSL4531_CONFIG (TSL4531_COMMAND | 0x01)
>> +#define TSL4531_DATA (TSL4531_COMMAND | 0x04)
>> +#define TSL4531_ID (TSL4531_COMMAND | 0x0a)
>>
>>   /* operating modes in control register */
>>   #define TSL4531_MODE_POWERDOWN 0x00
>>
> -- 
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux