Re: [PATCH] i2c: mpc: Removal of of_node_put with __free for auto cleanup

From: Andi Shyti
Date: Mon Apr 15 2024 - 16:54:24 EST


Hi Abhinav,

> /* Enable I2C interrupts for mpc5121 */
> - node_ctrl = of_find_compatible_node(NULL, NULL,
> - "fsl,mpc5121-i2c-ctrl");
> + struct device_node *node_ctrl __free(device_node) =

How have you tested this?

Andi