OSDN Git Service

pinctrl: meson: remove offset from pinctrl
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 20 Sep 2017 13:39:20 +0000 (15:39 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 5 Oct 2017 21:10:49 +0000 (23:10 +0200)
commit634e40b0c2bde81051e309cdfe4c26bbca3164ec
treebf28274ebc365da0649a351e1e0cdd4309435744
parent505485a83c55153d1776df9ff32ff8211645b6ed
pinctrl: meson: remove offset from pinctrl

Offset on meson pinctrl and gpios is something that was carried from the
vendor driver, where there is a weird link between the 2
controllers. Since these 2 controllers are independent, this offset adds
an unnecessary complexity.

This patch remove this manually set offset and rely on pinctrl to figure
out the gpio base offset

Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/meson/pinctrl-meson-gxbb.c
drivers/pinctrl/meson/pinctrl-meson-gxl.c
drivers/pinctrl/meson/pinctrl-meson.c
drivers/pinctrl/meson/pinctrl-meson.h
drivers/pinctrl/meson/pinctrl-meson8.c
drivers/pinctrl/meson/pinctrl-meson8b.c