Commit 2a22bea
net: mtk_eth_soc: use ethtool_puts
Allows simplifying get_strings and avoids manual pointer manipulation.
Tested on Belkin RT1800.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Gerhard Engleder <gerhard@engleder-embedded.com>
Link: https://patch.msgid.link/20241011200225.7403-1-rosenp@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 9de722c commit 2a22bea
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4329 | 4329 | | |
4330 | 4330 | | |
4331 | 4331 | | |
4332 | | - | |
4333 | | - | |
4334 | | - | |
4335 | | - | |
| 4332 | + | |
| 4333 | + | |
4336 | 4334 | | |
4337 | 4335 | | |
4338 | 4336 | | |
| |||
0 commit comments