]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: ftgmac100: Move DT probe into a helper
authorAndrew Lunn <andrew@lunn.ch>
Fri, 6 Feb 2026 03:17:51 +0000 (11:17 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 10 Feb 2026 12:40:50 +0000 (13:40 +0100)
commit20248a719dc8e0095b31291dcfc6380f5a7b10b2
tree93242d73d501295a0b2e1ce234c49270379eb46e
parent3e523741aae7d7835bd7f64eedfe44d3e1c64f4d
net: ftgmac100: Move DT probe into a helper

By moving all the DT probe code into a helper, the complex if else if
else structure can be simplified. No functional change intended.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
Link: https://patch.msgid.link/20260206-ftgmac-cleanup-v5-11-ad28a9067ea7@aspeedtech.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/faraday/ftgmac100.c