On 09/15/13 16:52, Peter Meerwald wrote: > and drop obsolete #define > > Signed-off-by: Peter Meerwald <pmeerw@xxxxxxxxxx> Oops, applied to the togreg branch of iio.git Thanks for the fast fix up. > --- > drivers/iio/light/tcs3472.c | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/drivers/iio/light/tcs3472.c b/drivers/iio/light/tcs3472.c > index 95510bd..dc7d823 100644 > --- a/drivers/iio/light/tcs3472.c > +++ b/drivers/iio/light/tcs3472.c > @@ -55,12 +55,9 @@ struct tcs3472_data { > u8 enable; > u8 control; > u8 atime; > - u16 buffer[4]; > + u16 buffer[8]; /* 4 16-bit channels + 64-bit timestamp */ > }; > > -/* 4 16-bit channels + timestamp = 16 bytes */ > -#define TSL3472_BUFFER_SIZE 16 > - > #define TCS3472_CHANNEL(_color, _si, _addr) { \ > .type = IIO_INTENSITY, \ > .modified = 1, \ > -- 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