Re: [PATCH] nvdimm: Use of_property_present() and of_property_read_bool()

2024-09-04 Thread Ira Weiny
Rob Herring wrote: > On Wed, Jul 31, 2024 at 2:14 PM Rob Herring (Arm) wrote: > > > > Use of_property_present() and of_property_read_bool() to test > > property presence and read boolean properties rather than > > of_(find|get)_property(). This is part of a larger effort to remove > > callers of o

Re: [PATCH] nvdimm: Use of_property_present() and of_property_read_bool()

2024-09-03 Thread Rob Herring
On Wed, Jul 31, 2024 at 2:14 PM Rob Herring (Arm) wrote: > > Use of_property_present() and of_property_read_bool() to test > property presence and read boolean properties rather than > of_(find|get)_property(). This is part of a larger effort to remove > callers of of_find_property() and similar f

Re: [PATCH] nvdimm: Use of_property_present() and of_property_read_bool()

2024-08-07 Thread Dave Jiang
On 7/31/24 12:13 PM, Rob Herring (Arm) wrote: > Use of_property_present() and of_property_read_bool() to test > property presence and read boolean properties rather than > of_(find|get)_property(). This is part of a larger effort to remove > callers of of_find_property() and similar functions. >

[PATCH] nvdimm: Use of_property_present() and of_property_read_bool()

2024-07-31 Thread Rob Herring (Arm)
Use of_property_present() and of_property_read_bool() to test property presence and read boolean properties rather than of_(find|get)_property(). This is part of a larger effort to remove callers of of_find_property() and similar functions. of_(find|get)_property() leak the DT struct property and d