openwrt/target/linux/realtek/files-5.15/drivers/i2c
Olliver Schinagl 0a83889e89 realtek: Reduce variable scopes
Linus prefers to have loop initializers nice and tightly scoped. In
OpenWRT this has been possible since 41a1a652fb ("kernel: backport
gnu11 upgrade").

This patch cleans up variable scope while trying to do the above for
'simple for loops'.

This cleans up and simplifies some functions and code, and pulls in
variables to a smaller scope.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2022-12-27 16:33:15 +01:00
..
busses realtek: Reduce variable scopes 2022-12-27 16:33:15 +01:00
muxes realtek: Replace C++ style comments 2022-12-27 16:33:01 +01:00