net: struct device - replace bus_id with dev_name(), dev_set_name()
Acked-by: Marcel Holtmann <marcel@holtmann.org> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
2377989754
commit
fb28ad3590
@@ -263,9 +263,9 @@ static inline struct device *wiphy_dev(struct wiphy *wiphy)
|
||||
/**
|
||||
* wiphy_name - get wiphy name
|
||||
*/
|
||||
static inline char *wiphy_name(struct wiphy *wiphy)
|
||||
static inline const char *wiphy_name(struct wiphy *wiphy)
|
||||
{
|
||||
return wiphy->dev.bus_id;
|
||||
return dev_name(&wiphy->dev);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user