[PATCH 5.10 293/545] driver core: fix potential deadlock in __driver_attach