diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-10-31 14:42:41 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-11-09 03:54:54 -0500 |
commit | 78bf386daf8a617bd79712aea2feda9baeccb64e (patch) | |
tree | 319f82336c383dc828117190cae01d5f2e0efd99 /drivers/pinctrl/mediatek | |
parent | 3c7b30f704b6f5e53eed6bf89cf2c8d1b38b02c0 (diff) |
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: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/mediatek')
-rw-r--r-- | drivers/pinctrl/mediatek/pinctrl-moore.c | 4 | ||||
-rw-r--r-- | drivers/pinctrl/mediatek/pinctrl-paris.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/pinctrl/mediatek/pinctrl-moore.c b/drivers/pinctrl/mediatek/pinctrl-moore.c index 3133ec0f2e67..aa1068d2867f 100644 --- a/drivers/pinctrl/mediatek/pinctrl-moore.c +++ b/drivers/pinctrl/mediatek/pinctrl-moore.c | |||
@@ -310,8 +310,8 @@ static int mtk_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, | |||
310 | case PIN_CONFIG_DRIVE_STRENGTH: | 310 | case PIN_CONFIG_DRIVE_STRENGTH: |
311 | if (hw->soc->drive_set) { | 311 | if (hw->soc->drive_set) { |
312 | err = hw->soc->drive_set(hw, desc, arg); | 312 | err = hw->soc->drive_set(hw, desc, arg); |
313 | if (err) | 313 | if (err) |
314 | return err; | 314 | return err; |
315 | } else { | 315 | } else { |
316 | err = -ENOTSUPP; | 316 | err = -ENOTSUPP; |
317 | } | 317 | } |
diff --git a/drivers/pinctrl/mediatek/pinctrl-paris.c b/drivers/pinctrl/mediatek/pinctrl-paris.c index d2179028f134..50e68b1e9065 100644 --- a/drivers/pinctrl/mediatek/pinctrl-paris.c +++ b/drivers/pinctrl/mediatek/pinctrl-paris.c | |||
@@ -282,8 +282,8 @@ static int mtk_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, | |||
282 | case PIN_CONFIG_DRIVE_STRENGTH: | 282 | case PIN_CONFIG_DRIVE_STRENGTH: |
283 | if (hw->soc->drive_set) { | 283 | if (hw->soc->drive_set) { |
284 | err = hw->soc->drive_set(hw, desc, arg); | 284 | err = hw->soc->drive_set(hw, desc, arg); |
285 | if (err) | 285 | if (err) |
286 | return err; | 286 | return err; |
287 | } else { | 287 | } else { |
288 | return -ENOTSUPP; | 288 | return -ENOTSUPP; |
289 | } | 289 | } |