[PATCH v2 0/2] driver core: faux: fix root device registration

From: Johan Hovold

Date: Fri Apr 24 2026 - 11:32:27 EST


This series fixes the faux bus root device registration by using
root_device_register().

Included is also a related cleanup.

Johan


Changes in v2:
- only set the faux_bus_root pointer on successful registration
- clean up the init error handling


Johan Hovold (2):
driver core: faux: fix root device registration
driver core: faux: clean up init error handling

drivers/base/faux.c | 32 +++++++++++++++-----------------
1 file changed, 15 insertions(+), 17 deletions(-)

--
2.53.0