diff options
| author | Hans de Goede <[email protected]> | 2021-09-20 21:08:35 -0700 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2021-09-20 22:00:26 -0700 |
| commit | 7642f29c731e383623d368a234a99ff9fb2eb97b (patch) | |
| tree | ce4069f227335ceced54154a760fcc0259fb8c4a /tools/perf/scripts/python | |
| parent | 209bda4741f68f102cf2f272227bfc938e387b51 (diff) | |
Input: goodix - push error logging up into i2c_read and i2c_write helpers
Make the goodix_i2c_read() and goodix_i2c_write*() helpers log errors
themselves. This allows removing all the error logging from their callers.
This already results in a nice cleanup with the current code and it also
helps to make the upcoming support for controllers without flash cleaner.
Reviewed-by: Bastien Nocera <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions