summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorKevin Hao <haokexin@gmail.com>2026-03-10 13:12:08 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-12 05:00:33 +0300
commit9179711ee2f70f3ba1d56d5c2e9fce04fb754198 (patch)
tree8e30ef2ecb4c6ffe27788ce4895d9ee84768deaa /scripts/basic
parentf97977944d1587fc01736da8b138d7bb9c526d02 (diff)
downloadlinux-9179711ee2f70f3ba1d56d5c2e9fce04fb754198.tar.xz
net: macb: Clean up the .init settings in macb_config instances
All instances of macb_config currently have the .init field set, but most of them use macb_init(). In fact, there is no need to duplicate this across all macb_config instances. Introduce a new macb_init() function that executes the specific .init if it is set; otherwise, it runs a default initialization function. Signed-off-by: Kevin Hao <haokexin@gmail.com> Link: https://patch.msgid.link/20260310-macb-cleanup-v1-2-928c1a91a7dc@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions