summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-08-26 13:07:24 +0300
committerVinod Koul <vkoul@kernel.org>2024-08-30 10:56:37 +0300
commit29b44a38503856952862c710d47d933c0173fd04 (patch)
tree736073fc20076564f8fe5947b88ef162e494fb4a /rust/helpers/build_bug.c
parent608863e1e600a4d91b00dddd6ff11eda1cbebaa5 (diff)
downloadlinux-29b44a38503856952862c710d47d933c0173fd04.tar.xz
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 <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240826-phy-of-node-scope-v1-8-5b4d82582644@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions