diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-02-28 18:42:51 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-02 06:10:26 -0500 |
commit | 347707baa77d273d79258303e00200d40cf3b323 (patch) | |
tree | fb0ebb6f2f7b063948aa30ba836d1fe3a9405512 /drivers/net | |
parent | 8987691a4aa6622a1b58bb12c56abaf3d2098fad (diff) |
wimax: struct device - replace bus_id with dev_name(), dev_set_name()
Cc: inaky.perez-gonzalez@intel.com
Cc: linux-wimax@intel.com
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wimax/i2400m/driver.c | 2 | ||||
-rw-r--r-- | drivers/net/wimax/i2400m/usb-notif.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wimax/i2400m/driver.c b/drivers/net/wimax/i2400m/driver.c index f988771bfae0..e4f1ce5bc294 100644 --- a/drivers/net/wimax/i2400m/driver.c +++ b/drivers/net/wimax/i2400m/driver.c | |||
@@ -618,7 +618,7 @@ int i2400m_setup(struct i2400m *i2400m, enum i2400m_bri bm_flags) | |||
618 | d_fnstart(3, dev, "(i2400m %p)\n", i2400m); | 618 | d_fnstart(3, dev, "(i2400m %p)\n", i2400m); |
619 | 619 | ||
620 | snprintf(wimax_dev->name, sizeof(wimax_dev->name), | 620 | snprintf(wimax_dev->name, sizeof(wimax_dev->name), |
621 | "i2400m-%s:%s", dev->bus->name, dev->bus_id); | 621 | "i2400m-%s:%s", dev->bus->name, dev_name(dev)); |
622 | 622 | ||
623 | i2400m->bm_cmd_buf = kzalloc(I2400M_BM_CMD_BUF_SIZE, GFP_KERNEL); | 623 | i2400m->bm_cmd_buf = kzalloc(I2400M_BM_CMD_BUF_SIZE, GFP_KERNEL); |
624 | if (i2400m->bm_cmd_buf == NULL) { | 624 | if (i2400m->bm_cmd_buf == NULL) { |
diff --git a/drivers/net/wimax/i2400m/usb-notif.c b/drivers/net/wimax/i2400m/usb-notif.c index 9702c22b2497..6add27c3f35c 100644 --- a/drivers/net/wimax/i2400m/usb-notif.c +++ b/drivers/net/wimax/i2400m/usb-notif.c | |||
@@ -102,7 +102,7 @@ int i2400mu_notification_grok(struct i2400mu *i2400mu, const void *buf, | |||
102 | dev_err(dev, "HW BUG? Unknown/unexpected data in notification " | 102 | dev_err(dev, "HW BUG? Unknown/unexpected data in notification " |
103 | "message (%zu bytes)\n", buf_len); | 103 | "message (%zu bytes)\n", buf_len); |
104 | snprintf(prefix, sizeof(prefix), "%s %s: ", | 104 | snprintf(prefix, sizeof(prefix), "%s %s: ", |
105 | dev_driver_string(dev) , dev->bus_id); | 105 | dev_driver_string(dev), dev_name(dev)); |
106 | if (buf_len > 64) { | 106 | if (buf_len > 64) { |
107 | print_hex_dump(KERN_ERR, prefix, DUMP_PREFIX_OFFSET, | 107 | print_hex_dump(KERN_ERR, prefix, DUMP_PREFIX_OFFSET, |
108 | 8, 4, buf, 64, 0); | 108 | 8, 4, buf, 64, 0); |