if (ret != 0)
dev_err(dev, "%s: rk_vendor_write eth mac address failed (%d)",
__func__, ret);
- } else {
- dev_dbg(dev, "%s: rk_vendor_read eth mac address: %02x:%02x:%02x:%02x:%02x:%02x",
- __func__, addr[0], addr[1], addr[2],
- addr[3], addr[4], addr[5]);
}
- dev_err(dev, "%s: mac address: %02x:%02x:%02x:%02x:%02x:%02x",
+
+ out:
++ dev_dbg(dev, "%s: mac address: %02x:%02x:%02x:%02x:%02x:%02x",
+ __func__, addr[0], addr[1], addr[2],
+ addr[3], addr[4], addr[5]);
}
static int rk_gmac_probe(struct platform_device *pdev)