提交 78bf386d 编写于 作者: C Colin Ian King 提交者: Linus Walleij

pinctrl: mediatek: clean up indentation issues, add missing tab

Trivial fix to clean up indentation issues, add one level of
indentation on two if statements.
Signed-off-by: NColin Ian King <colin.king@canonical.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 3c7b30f7
...@@ -310,8 +310,8 @@ static int mtk_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, ...@@ -310,8 +310,8 @@ static int mtk_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin,
case PIN_CONFIG_DRIVE_STRENGTH: case PIN_CONFIG_DRIVE_STRENGTH:
if (hw->soc->drive_set) { if (hw->soc->drive_set) {
err = hw->soc->drive_set(hw, desc, arg); err = hw->soc->drive_set(hw, desc, arg);
if (err) if (err)
return err; return err;
} else { } else {
err = -ENOTSUPP; err = -ENOTSUPP;
} }
......
...@@ -282,8 +282,8 @@ static int mtk_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, ...@@ -282,8 +282,8 @@ static int mtk_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin,
case PIN_CONFIG_DRIVE_STRENGTH: case PIN_CONFIG_DRIVE_STRENGTH:
if (hw->soc->drive_set) { if (hw->soc->drive_set) {
err = hw->soc->drive_set(hw, desc, arg); err = hw->soc->drive_set(hw, desc, arg);
if (err) if (err)
return err; return err;
} else { } else {
return -ENOTSUPP; return -ENOTSUPP;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册