Commit 78bf386d authored by Colin Ian King's avatar Colin Ian King Committed by 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: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment