提交 2a07954b 编写于 作者: K Kalle Valo 提交者: John W. Linville

at76c50x-usb: use dev_name() instead of struct device.bus_id

Stephen Rothwell reported that bus_id from struct device will be removed, use
dev_name() instead.
Signed-off-by: NKalle Valo <kalle.valo@iki.fi>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 0bfbce18
...@@ -2268,7 +2268,7 @@ static int at76_init_new_device(struct at76_priv *priv, ...@@ -2268,7 +2268,7 @@ static int at76_init_new_device(struct at76_priv *priv,
printk(KERN_INFO "%s: USB %s, MAC %s, firmware %d.%d.%d-%d\n", printk(KERN_INFO "%s: USB %s, MAC %s, firmware %d.%d.%d-%d\n",
wiphy_name(priv->hw->wiphy), wiphy_name(priv->hw->wiphy),
interface->dev.bus_id, mac2str(priv->mac_addr), dev_name(&interface->dev), mac2str(priv->mac_addr),
priv->fw_version.major, priv->fw_version.minor, priv->fw_version.major, priv->fw_version.minor,
priv->fw_version.patch, priv->fw_version.build); priv->fw_version.patch, priv->fw_version.build);
printk(KERN_INFO "%s: regulatory domain 0x%02x: %s\n", printk(KERN_INFO "%s: regulatory domain 0x%02x: %s\n",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册