Thread (33 messages) 33 messages, 4 authors, 2024-08-28

Re: [PATCH 01/11] usb: dwc3: st: use scoped device node handling to simplify error paths

From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Date: 2024-08-27 01:09:01
Also in: imx, linux-arm-msm, linux-usb, lkml

On Wed, Aug 14, 2024, Krzysztof Kozlowski wrote:
Obtain the device node reference with scoped/cleanup.h to reduce error
handling and make the code a bit simpler.  Scoped/cleanup.h coding style
expects variable declaration with initialization, so the
of_get_compatible_child() call has to be moved earlier, before any goto
jumps happen.

Signed-off-by: Krzysztof Kozlowski <redacted>

---

This depends on my earlier fix:
https://urldefense.com/v3/__https://lore.kernel.org/all/20240814093957.37940-2-krzysztof.kozlowski@linaro.org/__;!!A4F2R9G_pg!exVYjnFIRkiBgaYBTEIW3apFnDM4Mojp3r5-ayi3seBrI7oszldsFK-Yo1uzpLWjrg69Za02vLy_SlMQE76EyRC3hn2xaV5j$ 

Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>

Thanks,
Thinh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help