pinctrl: Ingenic: Introduce reg_offset and use it instead hard code.
author周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Sun, 15 Dec 2019 16:21:02 +0000 (00:21 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 6 Jan 2020 22:43:22 +0000 (23:43 +0100)
commitf742e5ebdd6332d887851cabb55c1b70535be331
tree93b052d25f1e8557628ff6d04730c84ce0abafae
parent3b31e9b0eaaad3240110037a5572c891d11f8f83
pinctrl: Ingenic: Introduce reg_offset and use it instead hard code.

Introduce "reg_offset", use it instead hard code "0x100",
it will also be used for subsequent X1830 pinctrl driver.

Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Link: https://lore.kernel.org/r/1576426864-35348-5-git-send-email-zhouyanjie@wanyeetech.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-ingenic.c