kunit_init_device() should unregister the device on bus register error, but mistakenly it tries to unregister the bus.
Would the following description variant be more appropriate?
kunit_init_device() should unregister the device on bus registration error. But it mistakenly tries to unregister the bus.
Regards, Markus