]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
pinctrl: sunxi: rename R_PIO i2c pin function name
authorIcenowy Zheng <icenowy@aosc.io>
Sun, 30 Jul 2017 05:36:18 +0000 (13:36 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Aug 2017 13:00:59 +0000 (15:00 +0200)
commit059b07989e091f003f2d6adea37a54cd377471d4
treee52d90ed2fb33fad43d6520a405bdaa3b0c44e4a
parentcad4e209c10258a43f4c9de0c77818db9f3d9031
pinctrl: sunxi: rename R_PIO i2c pin function name

The I2C pin functions in R_PIO used to be named "s_twi".

As we usually use the name "i2c" instead of "twi" in the mainline
kernel, change these names to "s_i2c" for consistency.

The "s_twi" functions are not yet referenced by any device trees in
mainline kernel so I think it's safe to change the name.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c
drivers/pinctrl/sunxi/pinctrl-sun8i-a23-r.c
drivers/pinctrl/sunxi/pinctrl-sun8i-h3-r.c