aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorJean-François Lessard <jefflessard3@gmail.com>2025-09-02 15:04:40 -0400
committerWolfram Sang <wsa+renesas@sang-engineering.com>2025-09-10 14:49:45 +0200
commitd32bb69523b86c85fc91d4c8a6d8313639ac1c1c (patch)
treea874c93cb11459d920acd6e05ae2cdba4fe474e7 /scripts/lib/kdoc/kdoc_parser.py
parentdevice property: Add scoped fwnode child node iterators (diff)
downloadlinux-d32bb69523b86c85fc91d4c8a6d8313639ac1c1c.tar.gz
linux-d32bb69523b86c85fc91d4c8a6d8313639ac1c1c.zip
i2c: core: Use fwnode_for_each_child_node_scoped()
Replace the manual __free(fwnode_handle) iterator declaration with the new scoped iterator macro for cleaner, less error-prone code. This eliminates the need for explicit iterator variable declaration with the cleanup attribute, making the code more consistent with other scoped iterator usage patterns in the kernel. Signed-off-by: Jean-François Lessard <jefflessard3@gmail.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions