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

From: Greg KH
Date: Sat May 04 2024 - 12:18:18 EST


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@xxxxxxxx>
> Signed-off-by: R SUNDAR <prosunofficial@xxxxxxxxx>

Please fix your name up for the next version.

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

How was this tested?

thanks,

greg k-h