Re: [PATCH v6 7/8] iio: dac: ad3552r: Use device_for_each_child_node_scoped()

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

 



On Thu, 04 Apr 2024 11:14:17 +0200
Nuno Sá <noname.nuno@xxxxxxxxx> wrote:

> On Sat, 2024-03-30 at 18:53 +0000, Jonathan Cameron wrote:
> > From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> > 
> > Switching to the _scoped() version removes the need for manual
> > calling of fwnode_handle_put() in the paths where the code
> > exits the loop early. In this case that's all in error paths.
> > 
> > Removing the goto err; statements also allows more extensive use of
> > dev_err_probe() further simplifying the code.
> > 
> > Cc: Mihail Chindris <mihail.chindris@xxxxxxxxxx>
> > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> > ---  
> 
> Hmm, Mihail is no longer in ADI... I'll see what other drivers he's
> "maintaining" and default them to me.
Great.
> 
> Anyways,
> 
> Reviewed-by: Nuno Sa <nuno.sa@xxxxxxxxxx>
> 
I'll carry on picking these series up piecemeal on basis of
reducing how many patches are outstanding as tags come in.

Applied.






[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