]> git.ipfire.org Git - thirdparty/openwrt.git/commit
ath79: improve reset-controller driver 21027/head
authorRosen Penev <rosenp@gmail.com>
Tue, 16 Jun 2026 20:39:11 +0000 (13:39 -0700)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Fri, 19 Jun 2026 20:30:14 +0000 (22:30 +0200)
commitbf8ca30dbea99a084d16ddabd59d5d18c1ad14b3
tree291510dfb40f126620f028d95d11eb36029bf5a1
parent30214f3b03edc61ac1f4c9af6b61fe5c22c8afa9
ath79: improve reset-controller driver

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>
target/linux/ath79/files/drivers/leds/leds-reset.c