diff options
| author | Krzysztof Kozlowski <[email protected]> | 2024-08-26 10:07:24 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2024-08-30 07:56:37 +0000 |
| commit | 29b44a38503856952862c710d47d933c0173fd04 (patch) | |
| tree | 736073fc20076564f8fe5947b88ef162e494fb4a /lib/debugobjects.c | |
| parent | phy: qcom: qmp-pcie-msm8996: Simplify with scoped for each OF child loop (diff) | |
| download | kernel-29b44a38503856952862c710d47d933c0173fd04.tar.gz kernel-29b44a38503856952862c710d47d933c0173fd04.zip | |
phy: ti: am654-serdes: Use scoped device node handling to simplify error paths
Obtain the device node reference with scoped/cleanup.h to reduce error
handling and make the code a bit simpler.
Unlike in other typical of_node_get+syscon_node_to_regmap cases, the
reference cannot be dropped immediately after syscon_node_to_regmap(),
because further part of probe() uses it.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
