summaryrefslogtreecommitdiff
path: root/lib/iomap_copy.c
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2020-04-05 19:03:18 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-04-19 16:56:39 +0100
commitce968fb6f97cd69d8321e188f3d820e5f7aca8d1 (patch)
tree603e93414762c60607ccee68a1dd9a269b766546 /lib/iomap_copy.c
parent0f92afee81ec63c015d2d5c2391a3024a6c277ea (diff)
iio:chemical:bme680: Tidy up parameters to regmap_bulk_read
A mixture of: * Unnecessary casts of val parameter to u8 * which makes little sense as the function take a void *. * Explicit sizes where we can use the destination type to define that. Note that's not true in all cases as we do read 3 bytes into 4 byte destinations. Note that noting was broken here, I'm just trying to ensure this doesn't get cut and paste into more drivers so cleaning these out subsystem wide. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Acked-by: Himanshu Jha <himanshujha199640@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Diffstat (limited to 'lib/iomap_copy.c')
0 files changed, 0 insertions, 0 deletions