devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Rob Herring <robh@kernel.org>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>,
	Frank Rowand <frowand.list@gmail.com>,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 1/2] of: Move of_platform_register_reconfig_notifier() into DT core
Date: Fri, 4 Aug 2023 16:26:12 +0200	[thread overview]
Message-ID: <2023080401-bonsai-macarena-4b74@gregkh> (raw)
In-Reply-To: <20230717143718.1715773-1-robh@kernel.org>

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@kernel.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@linuxfoundation.org>

      parent reply	other threads:[~2023-08-04 14:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-17 14:37 [PATCH 1/2] of: Move of_platform_register_reconfig_notifier() into DT core Rob Herring
2023-07-17 14:37 ` [PATCH 2/2] of: Move of_device_{add,register,unregister} to platform.c Rob Herring
2023-08-04 14:26   ` Greg Kroah-Hartman
2023-08-04 14:26 ` Greg Kroah-Hartman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2023080401-bonsai-macarena-4b74@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=devicetree@vger.kernel.org \
    --cc=frowand.list@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).