summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2026-01-11 16:15:24 +0300
committerJakub Kicinski <kuba@kernel.org>2026-01-13 06:36:49 +0300
commit52f37fd9f4dc93733c910282e761732f45f2921c (patch)
tree2bc73c01129c6723b369a045d8c7048e1747aa77 /include
parentaa9061269215e4733c2a5e7a5581a5d848165959 (diff)
downloadlinux-52f37fd9f4dc93733c910282e761732f45f2921c.tar.xz
net: stmmac: change arguments to PCS handler and use dev_info()
Change the arguments to the PCS handler so that it can access the struct device pointer and integrated PCS pointers. This allows us to use the PCS register offset stored in struct stmmac_pcs rather than passing it into the function, and also allows the messages to be printed using dev_info() rather than pr_info(), thereby allowing the stmmac instance to be identified. Finally, as dev_info() identifies the driver/device, prefixing with "stmmac_pcs: " is now redundant, so replace this with just "PCS ". Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/E1vevHw-00000002Yoz-35A7@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions