diff options
| author | Jonathan Cameron <[email protected]> | 2020-04-05 19:03:18 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2020-04-19 16:56:39 +0100 |
| commit | ce968fb6f97cd69d8321e188f3d820e5f7aca8d1 (patch) | |
| tree | 603e93414762c60607ccee68a1dd9a269b766546 /tools/perf/scripts/python | |
| parent | 0f92afee81ec63c015d2d5c2391a3024a6c277ea (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 <[email protected]>
Acked-by: Himanshu Jha <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Alexandru Ardelean <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions