Use _scoped loop to about fwnode_handle_put everywhere.
Remove usage of of_node.
Use devm_led_classdev_register_ext to avoid fwnode handle leaks.
Remove custom struct_size function.
Fix other various issues found with AI.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21027
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>