[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YLop0g8+ZZt60HYC@kroah.com>
Date: Fri, 4 Jun 2021 15:25:38 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: linux-kernel@...r.kernel.org,
"Rafael J. Wysocki" <rafael@...nel.org>, linux-acpi@...r.kernel.org
Subject: Re: [PATCH v1 1/1] device property: Unify access to of_node
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@...ux.intel.com>
> ---
> 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
Powered by blists - more mailing lists