[PATCH AUTOSEL 4.18 80/88] regulator: qcom_spmi: Use correct regmap when checking for error