summaryrefslogtreecommitdiff
path: root/drivers/atm/iphase.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-03-15 10:18:49 +0300
committerDavid S. Miller <davem@davemloft.net>2016-03-18 18:28:11 -0400
commit977bc20cf66367a530d17696f7e1783510a115b7 (patch)
tree8ace513e42a984a3dc1b3a4cb38d389f703feb9a /drivers/atm/iphase.c
parentfe3a5f6c795810edb1646a840fec3c8c350c2a4e (diff)
mediatek: checking for IS_ERR() instead of NULL
of_phy_connect() returns NULL on error, it never returns error pointers. Fixes: 656e705243fd ('net-next: mediatek: add support for MT7623 ethernet') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: John Crispin <blogic@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm/iphase.c')
0 files changed, 0 insertions, 0 deletions