Re: [PATCH v2] usb: typec: mux: replace of_node_put() with __free [linux-next]

Greg KH
2024-05-04T16:18:07Z

On Wed, Apr 10, 2024 at 11:28:04PM +0530, R SUNDAR wrote:
> use the new cleanup magic to replace of_node_put() with
> __free(device_node) marking to auto release and to simplify the error
> paths.
>
> Suggested-by: Julia Lawall <julia.lawall@inria.fr>
> Signed-off-by: R SUNDAR <prosunofficial@gmail.com>

Please fix your name up for the next version.

> ---
>
> Link to v1 - https://lore.kernel.org/all/CAA8EJppfzXEzzrQ_11O94MVn2dhcF2kGd9RR8ctJ1GmK=6C+ZQ@mail.gmail.com/
>
> Changes in v2: reverted the structure declaration to top of the function.

How was this tested?

thanks,

greg k-h