i2o: struct device - replace bus_id with dev_name(), dev_set_name()
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
48ef2bb46c
commit
cd3ed6b4dd
@ -1072,7 +1072,7 @@ struct i2o_controller *i2o_iop_alloc(void)
|
||||
|
||||
c->device.release = &i2o_iop_release;
|
||||
|
||||
snprintf(c->device.bus_id, BUS_ID_SIZE, "iop%d", c->unit);
|
||||
dev_set_name(&c->device, "iop%d", c->unit);
|
||||
|
||||
#if BITS_PER_LONG == 64
|
||||
spin_lock_init(&c->context_list_lock);
|
||||
|
Reference in New Issue
Block a user