On Fri, Jun 04, 2021 at 04:13:43PM +0300, Andy Shevchenko wrote: > Historically we have a few variants how we access dev->fwnode > and dev->of_node. Some of the functions during development > gained different versions of the getters. Unify access to of_node > and as a side change slightly refactor ACPI specific branches. > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > --- > drivers/base/property.c | 29 +++++++++++++---------------- > include/linux/property.h | 2 +- > 2 files changed, 14 insertions(+), 17 deletions(-) Less code and const structures are always a win. If I get an ack from Rafael I will merge this in my tree. thanks, greg k-h