summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-mxs.h
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2014-03-07 10:44:46 +0400
committerLinus Walleij <linus.walleij@linaro.org>2014-03-12 18:12:29 +0400
commit051a58b4622f0e1b732acb750097c64bc00ddb93 (patch)
treebf61f73068a9c67b52ae8b7e705c80a2179474e1 /drivers/pinctrl/pinctrl-mxs.h
parent1a0840ae0370a532dcd86cfb2be8d5a8e5877cd9 (diff)
downloadlinux-051a58b4622f0e1b732acb750097c64bc00ddb93.tar.xz
pinctrl: msm: Simplify msm_config_reg() and callers
We don't need to check for a negative reg here because reg is always the same and is always non-negative. Also, collapse the switch statement down for the duplicate cases. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-mxs.h')
0 files changed, 0 insertions, 0 deletions