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.

memory: renesas-rpc-if: 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>
Link: https://lore.kernel.org/r/20250424090000.136804-4-biju.das.jz@bp.renesas.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

authored by

Biju Das and committed by
Krzysztof Kozlowski
c66fce83 228e72bf

+1 -1
+1 -1
drivers/memory/renesas-rpc-if.c
··· 603 603 604 604 rpc->size = resource_size(res); 605 605 rpc->info = of_device_get_match_data(dev); 606 - rpc->rstc = devm_reset_control_get_exclusive(dev, NULL); 606 + rpc->rstc = devm_reset_control_array_get_exclusive(dev); 607 607 if (IS_ERR(rpc->rstc)) 608 608 return PTR_ERR(rpc->rstc); 609 609