]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: mdio: use macro __ATTR to simplify the code
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 27 Feb 2026 22:06:28 +0000 (23:06 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 3 Mar 2026 12:23:45 +0000 (13:23 +0100)
commit807d8addc3ec6e3b89523dc65096594e9e549c1a
treeb868b48bd55cac86e6f2acbfdca81353a8e55552
parent5c494f404a3fa5181f038b8c328a3e0dc4cc2e18
net: mdio: use macro __ATTR to simplify the code

Use macro __ATTR to simplify the code. Note that __ATTR can't be used
in MDIO_BUS_STATS_ADDR_ATTR_DECL because the included stringification
would conflict with how argument file is passed.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://patch.msgid.link/4877a4dc-247c-4453-b281-20a8d969b15b@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/mdio_bus.c