iio:imu:mpu6050: Tidy up parameters to regmap_bulk functions.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 5 Apr 2020 18:03:19 +0000 (19:03 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Apr 2020 15:56:39 +0000 (16:56 +0100)
commitd7d3a1327b8a90c826bd1dd9bdf2d5ccb969b6b6
treeb8a4387638c7213307b9319c7c1efc652828e990
parentce968fb6f97cd69d8321e188f3d820e5f7aca8d1
iio:imu:mpu6050: Tidy up parameters to regmap_bulk functions.

A mixture of:
* Casts to u8 * for the val parameter which is void * and so needs no cast.
* Explicit sizes when we can use sizeof on the destination / source variable.

Not broken in anyway, I'm just trying to tidy up the is in the subsystem to
avoid it getting cut and paste into new drivers.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c