Re: [PATCH 5/6] of: wrap accesses to device_node kobject

From: Greg Kroah-Hartman
Date: Fri Oct 06 2017 - 06:09:23 EST


On Thu, Oct 05, 2017 at 02:44:21PM -0500, Rob Herring wrote:
> In preparation to make kobject element in struct device_node optional,
> provide and use a macro to return the kobject pointer. The only user
> outside the DT core is the driver core.
>
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Cc: Nicolas Pitre <nico@xxxxxxxxxx>
> Cc: Frank Rowand <frowand.list@xxxxxxxxx>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
> ---
> drivers/base/core.c | 2 +-
> include/linux/of.h | 2 ++
> 2 files changed, 3 insertions(+), 1 deletion(-)

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>