summaryrefslogtreecommitdiff
path: root/drivers/iio/magnetometer/mmc35240.c
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2020-04-05 21:03:19 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-04-19 18:56:39 +0300
commitd7d3a1327b8a90c826bd1dd9bdf2d5ccb969b6b6 (patch)
treeb8a4387638c7213307b9319c7c1efc652828e990 /drivers/iio/magnetometer/mmc35240.c
parentce968fb6f97cd69d8321e188f3d820e5f7aca8d1 (diff)
downloadlinux-d7d3a1327b8a90c826bd1dd9bdf2d5ccb969b6b6.tar.xz
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/mmc35240.c')
0 files changed, 0 insertions, 0 deletions