[PATCH 5.4 318/411] driver core: fix deadlock in __device_attach