power: reset: brcmstb: Use syscon_regmap_lookup_by_phandle_args() helper
authorAndrew Davis <afd@ti.com>
Mon, 10 Jun 2024 14:28:34 +0000 (09:28 -0500)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 27 Aug 2024 17:35:04 +0000 (19:35 +0200)
commita4ceaab660cabdc9ac2d2514a809174443209b3b
treec4a86451e26c1c70100ddb9dfabf73672c1741e3
parentcf37f16a60f332fad21fe0a45893ac4c6a825d9d
power: reset: brcmstb: Use syscon_regmap_lookup_by_phandle_args() helper

Simplify probe by fetching the regmap and its arguments in one call.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/20240610142836.168603-3-afd@ti.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/reset/brcmstb-reboot.c