[PATCH] driver core: restore event order for device_add()