of: check for IS_ERR()
authorDan Carpenter <error27@gmail.com>
Wed, 28 Apr 2010 07:07:29 +0000 (01:07 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 28 Apr 2010 07:07:29 +0000 (01:07 -0600)
commit9bd73715a1f83f640937c121d22fa8dbaab73002
tree6c4bea7afca0a2e1423bd89d28dd78498af1db26
parentb0c06027c7d18d99e6f5e81382a7f06a8080b084
of: check for IS_ERR()

get_phy_device() can return an ERR_PTR()

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/of_mdio.c