pinctrl: cy8c95x0: Use regmap ranges
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Tue, 21 May 2024 15:25:58 +0000 (17:25 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Jun 2024 07:25:27 +0000 (09:25 +0200)
commit8670de9fae49a61f44dbddc4606b905264257a62
treea02fca3ee0a51a95c38bc7492549a436bd898fda
parentf71aba339a66be54253006935648f56c7cbc1ed9
pinctrl: cy8c95x0: Use regmap ranges

Instead of implementing a custom register paging mechanism in
the driver use the existing regmap ranges feature.

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://lore.kernel.org/r/20240521152602.1097764-2-patrick.rudolph@9elements.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-cy8c95x0.c