[PATCH v5.10-v6.1] driver core: bus: Fix double free in driver API bus_register()