[PATCH 6.1 442/885] driver core: fix resource leak in device_add()