kernel: b53: add switch name into printk when it fails.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38307
This commit is contained in:
Hauke Mehrtens 2013-10-06 22:35:28 +00:00
parent 2c5e4aa6ad
commit 53a2c19c69

View file

@ -296,7 +296,7 @@ static int b53_phy_config_init(struct phy_device *phydev)
ret = b53_switch_register(dev); ret = b53_switch_register(dev);
if (ret) { if (ret) {
pr_info("failed to register switch: %i\n", ret); dev_err(dev->dev, "failed to register switch: %i\n", ret);
return ret; return ret;
} }