regulator: Remove NULL test before calling regulator_unregister()