Re: [PATCH] iio: bmi160: use variable names for sizeof() operator

2017-01-21 Thread Jonathan Cameron
On 16/01/17 05:01, Alison Schofield wrote: > Replace the types with the actual variable names when using the > sizeof() operator. This is kernel preferred style as it protects > against future changes to variable type. > > Signed-off-by: Alison Schofield Sensible change from an obviously correct

[PATCH] iio: bmi160: use variable names for sizeof() operator

2017-01-15 Thread Alison Schofield
Replace the types with the actual variable names when using the sizeof() operator. This is kernel preferred style as it protects against future changes to variable type. Signed-off-by: Alison Schofield --- drivers/iio/imu/bmi160/bmi160_core.c | 8 1 file changed, 4 insertions(+), 4 del