Thread (4 messages) 4 messages, 2 authors, 2023-08-04

Re: [PATCH 1/2] of: Move of_platform_register_reconfig_notifier() into DT core

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2023-08-04 14:26:20
Also in: lkml

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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help