aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorJean Delvare <[email protected]>2020-08-25 09:20:37 +0200
committerBartosz Golaszewski <[email protected]>2020-08-25 17:50:15 +0200
commit99363d1c26c825055f8a879d9d5c2b78168cf655 (patch)
tree19c017e3ef337a348e4c271744b7386ef5b1de82 /tools/perf/scripts/python/check-perf-trace.py
parenta4423cedc56fd16405240243bdfe6d02823cb26a (diff)
eeprom: at24: Tidy at24_read()
The elegant code in at24_read() has the drawback that we now need to make a copy of all parameters to pass them to the post-processing callback function if there is one. Rewrite the loop in such a way that the parameters are not modified, so saving them is no longer needed. Signed-off-by: Jean Delvare <[email protected]> Cc: Bartosz Golaszewski <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions