phy: bcm-ns-usb3: use pointer for PHY writing function
authorRafał Miłecki <rafal@milecki.pl>
Thu, 8 Jun 2017 20:04:25 +0000 (22:04 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 16 Jun 2017 07:52:25 +0000 (13:22 +0530)
commitb20f506f6c63a3e6ee77aa4d519e4880c8a9d2f4
tree59e5f5e39310703a551d3aef39cecdba3468d967
parent412512c4f924cb508895237722b36f673f5e113c
phy: bcm-ns-usb3: use pointer for PHY writing function

Our current writing function accesses PHY directly bypassing MDIO layer.

The aim is to extend this module to also behave as MDIO driver. This
will require using different writing function which can be handled
cleanly by having an extra pointer like this.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/broadcom/phy-bcm-ns-usb3.c