]> www.infradead.org Git - users/willy/xarray.git/commit
power: reset: brcmstb: Use device_get_match_data() for matching
authorAndrew Davis <afd@ti.com>
Mon, 10 Jun 2024 14:28:33 +0000 (09:28 -0500)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 27 Aug 2024 17:34:01 +0000 (19:34 +0200)
commitcf37f16a60f332fad21fe0a45893ac4c6a825d9d
tree0c7709a0f2fb7e302975c326146f66ba4ff1f7dc
parent0174d12f9b7ebc83f1f2b6c25f05304104de5a91
power: reset: brcmstb: Use device_get_match_data() for matching

Use device_get_match_data() for finding the matching node and fetching
the match data all in one.

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