summaryrefslogtreecommitdiff
path: root/include/linux/brcmphy.h
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@seco.com>2021-10-22 18:59:14 +0300
committerDavid S. Miller <davem@davemloft.net>2021-10-24 15:40:33 +0300
commit65aa371ea52a92dd10826a2ea74bd2c395ee90a8 (patch)
tree8394c91a8882190b32bb9f77840c052cb0b67aec /include/linux/brcmphy.h
parentc8fb89a7a7d117fc1e2cbce6f0d3fd58008878fe (diff)
downloadlinux-65aa371ea52a92dd10826a2ea74bd2c395ee90a8.tar.xz
net: Convert more users of mdiobus_* to mdiodev_*
This converts users of mdiobus to mdiodev using the following semantic patch: @@ identifier mdiodev; expression regnum; @@ - mdiobus_read(mdiodev->bus, mdiodev->addr, regnum) + mdiodev_read(mdiodev, regnum) @@ identifier mdiodev; expression regnum, val; @@ - mdiobus_write(mdiodev->bus, mdiodev->addr, regnum, val) + mdiodev_write(mdiodev, regnum, val) Signed-off-by: Sean Anderson <sean.anderson@seco.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/brcmphy.h')
0 files changed, 0 insertions, 0 deletions