aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDmitry Osipenko <[email protected]>2020-09-30 01:19:11 +0300
committerWolfram Sang <[email protected]>2020-10-05 22:57:44 +0200
commita99042e7d9fb5c9143b368210c08f8447a48c2c8 (patch)
tree01322059442cd945d8dd2f304d98e880425507c7 /tools/perf/util/trace-event-scripting.c
parent89e3748acd0bf657af0e6fc47c4ed0943afb1a75 (diff)
i2c: tegra: Clean up variable names
Rename "ret" variables to "err" in order to make code a bit more expressive, emphasizing that the returned value is an error code. Same vice versa, where appropriate. Rename variable "reg" to "val" in order to better reflect the actual usage of the variable in the code and to make naming consistent with the rest of the code. Use briefer names for a few members of the tegra_i2c_dev structure in order to improve readability of the code. All dev/&pdev->dev are replaced with i2c_dev->dev in order to have uniform code style across the driver. Reviewed-by: Andy Shevchenko <[email protected]> Acked-by: Thierry Reding <[email protected]> Tested-by: Thierry Reding <[email protected]> Signed-off-by: Dmitry Osipenko <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions