From: Heiko Stübner Date: Sun, 15 Jun 2014 23:36:33 +0000 (+0200) Subject: pinctrl: rockchip: precalculate iomux offsets X-Git-Tag: omap-for-v3.17/fixes-against-rc2~128^2~42 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bc0d121a95b31b0962bf6a3f89099059bde409e;p=pandora-kernel.git pinctrl: rockchip: precalculate iomux offsets An upcoming SoC introduces an interesting quirk to iomux handling making the calculation of the iomux register-offset harder. To keep the complexity down when getting/setting the mux, precalculate the actual register offset at probe-time. Signed-off-by: Heiko Stuebner Signed-off-by: Linus Walleij --- Reading git-diff-tree failed