Skip to content

Commit 1f5eb1e

Browse files
frank-wK900
authored andcommitted
fix checkpatch pinctrl-mediatek-add-support-for-MTK_PULL_PD_TYPE
WARNING: please, no spaces at the start of a line \torvalds#28: FILE: drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c:608: + int err, pd;$ WARNING: please, no spaces at the start of a line \torvalds#59: FILE: drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c:789: + }$ total: 0 errors, 2 warnings, 90 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. 0001-pinctrl-mediatek-add-support-for-MTK_PULL_PD_TYPE.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS.
1 parent 64a95e2 commit 1f5eb1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ static int mtk_pinconf_bias_set_pd(struct mtk_pinctrl *hw,
605605
const struct mtk_pin_desc *desc,
606606
u32 pullup, u32 arg)
607607
{
608-
int err, pd;
608+
int err, pd;
609609

610610
if (arg == MTK_DISABLE)
611611
pd = 0;
@@ -786,7 +786,7 @@ int mtk_pinconf_bias_set_combo(struct mtk_pinctrl *hw,
786786
err = mtk_pinconf_bias_set_pd(hw, desc, pullup, arg);
787787
if (!err)
788788
return err;
789-
}
789+
}
790790

791791
if (try_all_type & MTK_PULL_PU_PD_TYPE) {
792792
err = mtk_pinconf_bias_set_pu_pd(hw, desc, pullup, arg);

0 commit comments

Comments
 (0)