diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-04-05 19:03:19 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-04-19 16:56:39 +0100 |
commit | d7d3a1327b8a90c826bd1dd9bdf2d5ccb969b6b6 (patch) | |
tree | b8a4387638c7213307b9319c7c1efc652828e990 /drivers/iio/magnetometer | |
parent | ce968fb6f97cd69d8321e188f3d820e5f7aca8d1 (diff) |
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>
Diffstat (limited to 'drivers/iio/magnetometer')
0 files changed, 0 insertions, 0 deletions