summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-08-23 15:49:00 +0800
committerLinus Walleij <linus.walleij@linaro.org>2013-08-28 13:34:18 +0200
commit51578b9b1f6a9299e36fcf1554ff8cdf79372bd3 (patch)
treebfe08914d7c86ef1ce2182f2e05b1a3e0cbb8f8f /COPYING
parentdff5a99c2ae537cad2fc4df85ef3330a4ddf2c67 (diff)
downloadtalos-op-linux-51578b9b1f6a9299e36fcf1554ff8cdf79372bd3.tar.gz
talos-op-linux-51578b9b1f6a9299e36fcf1554ff8cdf79372bd3.zip
pinctrl: rockchip: Simplify pin_to_bank equation
If (b->pin_base + b->nr_pins - 1) < pin is true, pin >= b->pin_base is always true because b->nr_pins is never less than 0. Thus this patch simplify the equation. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud