Re: [PATCH 0/2] IIO: Use of device_for_each_child_node_scoped() in ti-ads131e08

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 20 Apr 2024 15:27:42 -0300
Lorenzo Bertin Salvador <lorenzobs@xxxxxx> wrote:

> This series is making use of device_for_each_child_node_scoped() to avoid
> the need to remember to call fwnode_handle_put() in early exits from
> loops over the child nodes. It is also correcting a minor style problem
> in drivers/iio/adc/ti-ads131e08.c
> 
> Lorenzo Bertin Salvador (2):
>   iio: adc: ti-ads131e08: Use device_for_each_child_node_scoped() to
>     simplify error paths.
>   iio: adc: ti-ads131e08: Fix a style problem in struct declaration.

The title of the cover letter only reflects one of these patches and
needs to cover them both.  However, for tidying up type actions a vague
title like iio: adc: ti-ads131e08: code style improvements
would be fine as long as the description gives a more detailed listing
of what is going on.  That's covered by your description above.

Thanks,

Jonathan

> 
>  drivers/iio/adc/ti-ads131e08.c | 13 +++++--------
>  1 file changed, 5 insertions(+), 8 deletions(-)
> 





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux