]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit2d3f956e2ea8c247ce433323ca9f764da139aae7
tree599c9f00bcefedfd28a947fdba42fac899f0c80e
parentd1242acc566a9288cbca441be1a7358c0316197e
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