[PATCH 1/2] kunit: unregister the device on error