[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2023080401-bonsai-macarena-4b74@gregkh>
Date: Fri, 4 Aug 2023 16:26:12 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Rob Herring <robh@...nel.org>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>,
Frank Rowand <frowand.list@...il.com>,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Subject: Re: [PATCH 1/2] of: Move of_platform_register_reconfig_notifier()
into DT core
On Mon, Jul 17, 2023 at 08:37:16AM -0600, Rob Herring wrote:
> There's no reason the generic platform bus code needs to call
> of_platform_register_reconfig_notifier(). The notifier can be setup
> before the platform bus is. Let's move it into of_core_init() which is
> called just before platform_bus_init() instead to keep more of the DT
> bits in the DT code.
>
> Signed-off-by: Rob Herring <robh@...nel.org>
> ---
> drivers/base/platform.c | 2 +-
> drivers/of/base.c | 1 +
> drivers/of/of_private.h | 6 ++++++
> drivers/of/platform.c | 2 ++
> include/linux/of_platform.h | 6 ------
> 5 files changed, 10 insertions(+), 7 deletions(-)
>
Reviewed-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Powered by blists - more mailing lists