pinctrl: msm: fix up out-of-order merge conflict
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 14 Mar 2014 06:54:20 +0000 (07:54 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 14 Mar 2014 15:32:23 +0000 (16:32 +0100)
Commit 051a58b4622f0e1b732acb750097c64bc00ddb93
"pinctrl: msm: Simplify msm_config_reg() and callers"
removed the local "reg" variable in the msm_config_reg()
function, but the earlier
commit ed118a5fd951bd2def8249ee251842c4f81fe4bd
"pinctrl-msm: Support output-{high,low} configuration"
introduced a new switchclause using it.

Fix this up by removing the offending register assignment.

Reported-by: Kbuild test robot <fengguang.wu@intel.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-msm.c

index 19d2feb0674f01dfd93de4d5f95889f808c6e4c4..343f421c7696ef19311fe636a606d4f56674e3ff 100644 (file)
@@ -215,7 +215,6 @@ static int msm_config_reg(struct msm_pinctrl *pctrl,
                *mask = 7;
                break;
        case PIN_CONFIG_OUTPUT:
-               *reg = g->ctl_reg;
                *bit = g->oe_bit;
                *mask = 1;
                break;