summaryrefslogtreecommitdiff
path: root/rust/macros/helpers.rs
diff options
context:
space:
mode:
authorCezar Chiru <chiru.cezar.89@gmail.com>2025-10-23 15:00:41 +0300
committerAndi Shyti <andi.shyti@kernel.org>2025-10-28 17:05:16 +0100
commit11cb461c2ebb5588ec11c75228c309619df551df (patch)
treec2d7c0e6aa94c556b1c7a7d536715de35aa091a3 /rust/macros/helpers.rs
parentd3429178ee51dd7155445d15a5ab87a45fae3c73 (diff)
i2c: pcf8584: Move 'ret' variable inside for loop, goto out if ret < 0.
Require spaces around '=' and '<'. Add spaces around binary operators. Enforce error fixing based on checkpatch.pl output on file. Move 'ret' variable inside for loop. Then check if (ret < 0) goto out. This improves usage of ret variable. Signed-off-by: Cezar Chiru <chiru.cezar.89@gmail.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/20251023120043.8661-2-chiru.cezar.89@gmail.com
Diffstat (limited to 'rust/macros/helpers.rs')
0 files changed, 0 insertions, 0 deletions