linux/drivers/pinctrl/renesas
Christophe JAILLET 95eb198694 pinctrl: renesas: rzg2l: Use devm_clk_get_enabled() helper
The devm_clk_get_enabled() helper:
   - calls devm_clk_get()
   - calls clk_prepare_enable() and registers what is needed in order to
     call clk_disable_unprepare() when needed, as a managed resource.

This simplifies the code and avoids the need of a dedicated function used
with devm_add_action_or_reset().

While at it, use dev_err_probe() which filters -EPROBE_DEFER.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/a4a586337d692f0ca396b80d275ba634eb419593.1690058500.git.christophe.jaillet@wanadoo.fr
[geert: Make clk local to rzg2l_pinctrl_probe()]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2023-07-25 12:28:45 +02:00
..
core.c pinctrl: renesas: core: Drop unneeded #ifdef CONFIG_OF 2023-03-30 15:41:14 +02:00
core.h pinctrl: renesas: Move R-Car bias helpers to sh_pfc.h 2021-03-24 10:38:29 +01:00
gpio.c pinctrl: renesas: gpio: Use dynamic GPIO base if no function GPIOs 2022-11-17 20:34:51 +01:00
Kconfig pinctrl: renesas: Remove R-Car H3 ES1.* handling 2023-03-10 17:12:40 +01:00
Makefile pinctrl: renesas: Remove R-Car H3 ES1.* handling 2023-03-10 17:12:40 +01:00
pfc-emev2.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a73a4.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a779a0.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a779f0.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a779g0.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a7740.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a7778.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a7779.c pinctrl: renesas: r8a7779: Add PWM pins, groups, and functions 2023-03-30 15:39:05 +02:00
pfc-r8a7790.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a7791.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a7792.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a7794.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a7796.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a77470.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a77951.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a77965.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a77970.c pinctrl: renesas: Fix spaces followed by tabs 2023-05-09 11:51:33 +02:00
pfc-r8a77980.c pinctrl: renesas: Fix spaces followed by tabs 2023-05-09 11:51:33 +02:00
pfc-r8a77990.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-r8a77995.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh73a0.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh7203.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh7264.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh7269.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh7720.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh7722.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh7723.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh7724.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh7734.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh7757.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh7785.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-sh7786.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pfc-shx3.c pinctrl: renesas: Annotate sentinels in tables 2023-03-30 15:39:05 +02:00
pinctrl-rza1.c Pin control bulk changes for the v6.4 kernel: 2023-05-02 15:40:41 -07:00
pinctrl-rza2.c pinctrl: renesas: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:53 -07:00
pinctrl-rzg2l.c pinctrl: renesas: rzg2l: Use devm_clk_get_enabled() helper 2023-07-25 12:28:45 +02:00
pinctrl-rzn1.c Pin control bulk changes for the v6.4 kernel: 2023-05-02 15:40:41 -07:00
pinctrl-rzv2m.c pinctrl: renesas: rzv2m: Use devm_clk_get_enabled() helper 2023-07-25 12:28:42 +02:00
pinctrl.c pinctrl: renesas: Add support for 1.8V/2.5V I/O voltage levels 2023-03-30 15:39:04 +02:00
sh_pfc.h pinctrl: renesas: Add support for 1.8V/2.5V I/O voltage levels 2023-03-30 15:39:04 +02:00