[PATCH openEuler-1.0-LTS 7/7] driver core: fix potential deadlock in __driver_attach