]> git.baikalelectronics.ru Git - kernel.git/commit
iio: bmi160: use variable names for sizeof() operator
authorAlison Schofield <amsfield22@gmail.com>
Mon, 16 Jan 2017 05:01:10 +0000 (21:01 -0800)
committerJonathan Cameron <jic23@kernel.org>
Sat, 21 Jan 2017 13:06:03 +0000 (13:06 +0000)
commite9a537f53afbc5377b9636619a31c650d84e0e39
tree599c9f00bcefedfd28a947fdba42fac899f0c80e
parent32c7947116075ae855c5279ea2c2104101f4bd5e
iio: bmi160: use variable names for sizeof() operator

Replace the types with the actual variable names when using the
sizeof() operator.  This is kernel preferred style as it's
more obvious that it is correct.

Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/bmi160/bmi160_core.c