]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: RTL930x led_set count error message tidy up + dev_ print fixups 19791/head
authorBevan Weiss <bevan.weiss@gmail.com>
Mon, 18 Aug 2025 08:12:57 +0000 (18:12 +1000)
committerRobert Marko <robimarko@gmail.com>
Thu, 21 Aug 2025 09:22:11 +0000 (11:22 +0200)
commit00c16754cd367fbd052f96bcdca66dcfffe54121
tree306f9de0c7473e81ad5363474b4a7fbb316952e4
parent5d44b115f1fef40a6b023d098056d8affbe029ae
realtek: RTL930x led_set count error message tidy up + dev_ print fixups

Whilst testing Hasivo s1100wp-8gt-se LED configuration, several error
messages were presented which didn't indicate which led_set they were
referencing, nor what the value was that caused the invalid configuration.

Migrate to use dev_ print messages for this function.
And tidy up both when the error message is reported (don't show it when
an led_set isn't in the DTS) and what details the message presents.

Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19791
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl930x.c