Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

serial: sh-sci: Use devm_reset_control_array_get_exclusive()

Replace devm_*_get_exclusive()->devm_*_array_get_exclusive() to support
existing SoCs along with RZ/G3E as RZ/G3E has 2 resets.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://patch.msgid.link/20251129164325.209213-10-biju.das.jz@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Biju Das and committed by
Greg Kroah-Hartman
850ec928 507a7ba9

+1 -1
+1 -1
drivers/tty/serial/sh-sci.c
··· 3708 3708 3709 3709 data = of_device_get_match_data(&pdev->dev); 3710 3710 3711 - rstc = devm_reset_control_get_optional_exclusive(&pdev->dev, NULL); 3711 + rstc = devm_reset_control_array_get_optional_exclusive(&pdev->dev); 3712 3712 if (IS_ERR(rstc)) 3713 3713 return ERR_PTR(dev_err_probe(&pdev->dev, PTR_ERR(rstc), 3714 3714 "failed to get reset ctrl\n"));