]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf5b51379f1305eef8e31622e1421874a9261e8cd
tree93b052d25f1e8557628ff6d04730c84ce0abafae
parentadf3a01c0393836952dccccec330d32b093e641b
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