Commit a15f8596 authored by Zheng Yongjun's avatar Zheng Yongjun Committed by Linus Walleij
Browse files

pinctrl: mediatek: simplify the return expression of mtk_pinconf_bias_disable_set_rev1()

parent 01a9350b
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -488,14 +488,8 @@ EXPORT_SYMBOL_GPL(mtk_pinconf_bias_get);
int mtk_pinconf_bias_disable_set_rev1(struct mtk_pinctrl *hw,
				      const struct mtk_pin_desc *desc)
{
	int err;

	err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PULLEN,
	return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PULLEN,
				MTK_DISABLE);
	if (err)
		return err;

	return 0;
}
EXPORT_SYMBOL_GPL(mtk_pinconf_bias_disable_set_rev1);