[PATCH 5.4 181/658] regulator: core: fix resource leak in regulator_register()