Commit 00c1675
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 <[email protected]>
Link: openwrt/openwrt#19791
Signed-off-by: Robert Marko <[email protected]>1 parent 5d44b11 commit 00c1675
File tree
1 file changed
+9
-5
lines changed- target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx
1 file changed
+9
-5
lines changedLines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2244 | 2244 | | |
2245 | 2245 | | |
2246 | 2246 | | |
| 2247 | + | |
2247 | 2248 | | |
2248 | 2249 | | |
2249 | | - | |
2250 | 2250 | | |
2251 | 2251 | | |
2252 | | - | |
| 2252 | + | |
2253 | 2253 | | |
2254 | 2254 | | |
2255 | 2255 | | |
| |||
2271 | 2271 | | |
2272 | 2272 | | |
2273 | 2273 | | |
2274 | | - | |
2275 | | - | |
| 2274 | + | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
2276 | 2279 | | |
2277 | 2280 | | |
| 2281 | + | |
2278 | 2282 | | |
2279 | 2283 | | |
2280 | 2284 | | |
| |||
2323 | 2327 | | |
2324 | 2328 | | |
2325 | 2329 | | |
2326 | | - | |
| 2330 | + | |
2327 | 2331 | | |
2328 | 2332 | | |
2329 | 2333 | | |
| |||
0 commit comments