diff options
author | Théo Lebrun <[email protected]> | 2024-03-06 18:59:22 +0100 |
---|---|---|
committer | Andi Shyti <[email protected]> | 2024-03-08 23:41:45 +0100 |
commit | ae9977eefc4a1e6e8fda619f5b8734efb6f11b58 (patch) | |
tree | 2974a001b313730ddde40e557073f2bb8ea25b99 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 1b9a8e8af0d969ad8f2deece827e691a1b07ba1b (diff) |
i2c: nomadik: rename private struct pointers from dev to priv
Disambiguate the usage of dev as a variable name; it is usually best to
keep it reserved for struct device pointers. Avoid having multiple
names for the same struct pointer (previously: dev, nmk, nmk_i2c).
Fix whitespace code style; return indented twice, spacing besides infix
operators, align function call arguments to opening parenthesis. Remove
useless cast to unused return value from init_hw(). Introduce local dev
variable in probe() to alias &adev->dev.
Reviewed-by: Linus Walleij <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Acked-by: Wolfram Sang <[email protected]>
Signed-off-by: Théo Lebrun <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions