mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 07:33:56 +00:00
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: Kalle Valo <kalle.valo@iki.fi> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
0bfbce18b9
commit
2a07954b83
@ -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",
|
||||
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.patch, priv->fw_version.build);
|
||||
printk(KERN_INFO "%s: regulatory domain 0x%02x: %s\n",
|
||||
|
Loading…
Reference in New Issue
Block a user