diff options
| author | 2024-04-29 10:22:33 -0300 | |
|---|---|---|
| committer | 2024-04-29 21:00:10 +0100 | |
| commit | d1648883355a25488836daf1ca26e10577c2c50c (patch) | |
| tree | 2a86223a1d53d4d0463e43c0a02a0d09637df244 /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | iio: adc: ad799x: Prefer to use octal permission (diff) | |
iio: adc: ti-ads1015: use device_for_each_child_node_scoped()
This loop definition removes the need for manual releasing of the
fwnode_handle in early exit paths (here an error path) allow
simplification of the code and reducing the chance of future
modifications not releasing fwnode_handle correctly.
Co-developed-by: Luiza Soezima <lbrsoezima@usp.br>
Signed-off-by: Luiza Soezima <lbrsoezima@usp.br>
Co-developed-by: Sabrina Araujo <sabrinaaraujo@usp.br>
Signed-off-by: Sabrina Araujo <sabrinaaraujo@usp.br>
Signed-off-by: Lincoln Yuji <lincolnyuji@usp.br>
Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Link: https://lore.kernel.org/r/20240429132233.6266-1-lincolnyuji@usp.br
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
