pinctrl: msm: Replace lookup tables with math
authorStephen Boyd <sboyd@codeaurora.org>
Fri, 7 Mar 2014 06:44:44 +0000 (22:44 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 12 Mar 2014 14:12:28 +0000 (15:12 +0100)
commit7cc34e2e1a003bc7002868f51678d6fc6e7aeb85
tree8d9fb316e39fc4adc2ea3c290e45812bdd65d96b
parent5f2449d0228048a4c7103672187126c5c7d78d08
pinctrl: msm: Replace lookup tables with math

We don't need to waste space with these lookup tables, just do
the math directly.

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>
drivers/pinctrl/pinctrl-msm.c