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)
commitedc7254664abdcd087e49849f0ba6489c1f19b49
treefb82d5bd440e6d870fcd61877d31eb1af0f21144
parent550713e33f4338c8596776828a936fd1e3bf35de
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