arm: bus_id -> dev_name() and dev_set_name() conversions
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
2222c313e9
commit
3f9787046e
@@ -677,7 +677,7 @@ static void at91ether_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo
|
||||
{
|
||||
strlcpy(info->driver, DRV_NAME, sizeof(info->driver));
|
||||
strlcpy(info->version, DRV_VERSION, sizeof(info->version));
|
||||
strlcpy(info->bus_info, dev->dev.parent->bus_id, sizeof(info->bus_info));
|
||||
strlcpy(info->bus_info, dev_name(dev->dev.parent), sizeof(info->bus_info));
|
||||
}
|
||||
|
||||
static const struct ethtool_ops at91ether_ethtool_ops = {
|
||||
|
Reference in New Issue
Block a user