]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: ocelot: Remove instance number from pin functions
authorLars Povlsen <lars.povlsen@microchip.com>
Wed, 13 May 2020 12:55:20 +0000 (14:55 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 18 May 2020 07:30:35 +0000 (09:30 +0200)
commit385ed9e6f81a36df5d10a4fae4bbeed95f335310
treefb82d5bd440e6d870fcd61877d31eb1af0f21144
parent90a23d9e3c435553d53772dedaffd355412efca6
pinctrl: ocelot: Remove instance number from pin functions

This patch removes the instance number from the "miim", "reco_clk" and
"sfp" pin function.

The change needed is to prepare the driver for adding new platforms
with more of these instances. The instance number is also redundant,
as this is implicit for each pin.

Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Lars Povlsen <lars.povlsen@microchip.com>
Link: https://lore.kernel.org/r/20200513125532.24585-3-lars.povlsen@microchip.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-ocelot.c