Skip to content

Commit c66fce8

Browse files
bijudaskrzk
authored andcommitted
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 <[email protected]> Signed-off-by: Biju Das <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 228e72b commit c66fce8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/memory/renesas-rpc-if.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ static int rpcif_probe(struct platform_device *pdev)
603603

604604
rpc->size = resource_size(res);
605605
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);
607607
if (IS_ERR(rpc->rstc))
608608
return PTR_ERR(rpc->rstc);
609609

0 commit comments

Comments
 (0)