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

Johan Hovold
2026-04-24T15:32:15Z

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