Re: [PATCH] iio: adc: aspeed: Use of_property_present()

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

 



On Thu, 01 Aug 2024 11:13:50 +0930
Andrew Jeffery <andrew@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Wed, 2024-07-31 at 13:12 -0600, Rob Herring (Arm) wrote:
> > Use of_property_present() to test for property presence rather than
> > of_find_property(). This is part of a larger effort to remove callers
> > of of_find_property() and similar functions. of_find_property() leaks
> > the DT struct property and data pointers which is a problem for
> > dynamically allocated nodes which may be freed.
> > 
> > Signed-off-by: Rob Herring (Arm) <robh@xxxxxxxxxx>  
> 
> Acked-by: Andrew Jeffery <andrew@xxxxxxxxxxxxxxxxxxxx>
> 

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