]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
wimax: struct device - replace bus_id with dev_name(), dev_set_name()
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 24 Mar 2009 23:38:23 +0000 (16:38 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:38:23 +0000 (16:38 -0700)
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>
drivers/net/wimax/i2400m/driver.c
drivers/net/wimax/i2400m/usb-notif.c
include/linux/wimax/debug.h

index e80a0b65a7549d4fb2fec512a363586aac65f04b..d58b971faa648b5018dcc849372719daeb6f497d 100644 (file)
@@ -613,7 +613,7 @@ int i2400m_setup(struct i2400m *i2400m, enum i2400m_bri bm_flags)
        d_fnstart(3, dev, "(i2400m %p)\n", i2400m);
 
        snprintf(wimax_dev->name, sizeof(wimax_dev->name),
-                "i2400m-%s:%s", dev->bus->name, dev->bus_id);
+                "i2400m-%s:%s", dev->bus->name, dev_name(dev));
 
        i2400m->bm_cmd_buf = kzalloc(I2400M_BM_CMD_BUF_SIZE, GFP_KERNEL);
        if (i2400m->bm_cmd_buf == NULL) {
index 9702c22b24974052ac7664b82475378b8cbe5bcd..0528879f6d39b66ef9239fd166c783425ebd7bdc 100644 (file)
@@ -102,7 +102,7 @@ int i2400mu_notification_grok(struct i2400mu *i2400mu, const void *buf,
                dev_err(dev, "HW BUG? Unknown/unexpected data in notification "
                        "message (%zu bytes)\n", buf_len);
                snprintf(prefix, sizeof(prefix), "%s %s: ",
-                        dev_driver_string(dev) , dev->bus_id);
+                        dev_driver_string(dev) , dev_name(dev));
                if (buf_len > 64) {
                        print_hex_dump(KERN_ERR, prefix, DUMP_PREFIX_OFFSET,
                                       8, 4, buf, 64, 0);
index ba0c49399a8345ce2b82c0583d462d46f66fb797..c703e034042371732ad3591bc9800fe4b213e1f5 100644 (file)
@@ -178,7 +178,7 @@ void __d_head(char *head, size_t head_size,
                WARN_ON(1);
        } else
                snprintf(head, head_size, "%s %s: ",
-                        dev_driver_string(dev), dev->bus_id);
+                        dev_driver_string(dev), dev_name(dev));
 }