summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/asix.c
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2019-01-21 15:58:47 +0100
committerDavid S. Miller <davem@davemloft.net>2019-01-23 05:51:21 +0100
commit25974d8af1bc5116f0d79fc6722425930fd8c0e9 (patch)
treeafbac505a411676630498c5ec81ffa7700fe6749 /drivers/net/phy/asix.c
parentnet/ipv6: lower the level of "link is not ready" messages (diff)
downloadlinux-25974d8af1bc5116f0d79fc6722425930fd8c0e9.tar.xz
linux-25974d8af1bc5116f0d79fc6722425930fd8c0e9.zip
net: fec: get regulator optional
According to the device tree binding the phy-supply property is optional. Use the regulator_get_optional API accordingly. The code already handles NULL just fine. This gets rid of the following warning: fec 2188000.ethernet: 2188000.ethernet supply phy not found, using dummy regulator Signed-off-by: Stefan Agner <stefan@agner.ch> Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Fugang Duan <fugang.duan@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/asix.c')
0 files changed, 0 insertions, 0 deletions