ChangeSet 1.1152.2.3, 2003/08/14 16:52:13-07:00, greg@kroah.com Remove usage of struct device.name from ide core drivers/ide/ide-probe.c | 3 --- 1 files changed, 3 deletions(-) diff -Nru a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c --- a/drivers/ide/ide-probe.c Fri Aug 15 11:16:05 2003 +++ b/drivers/ide/ide-probe.c Fri Aug 15 11:16:05 2003 @@ -648,7 +648,6 @@ { /* register with global device tree */ strlcpy(hwif->gendev.bus_id,hwif->name,BUS_ID_SIZE); - snprintf(hwif->gendev.name,DEVICE_NAME_SIZE,"IDE Controller"); hwif->gendev.driver_data = hwif; if (hwif->pci_dev) hwif->gendev.parent = &hwif->pci_dev->dev; @@ -1217,8 +1216,6 @@ ide_add_generic_settings(drive); snprintf(drive->gendev.bus_id,BUS_ID_SIZE,"%u.%u", hwif->index,unit); - snprintf(drive->gendev.name,DEVICE_NAME_SIZE, - "%s","IDE Drive"); drive->gendev.parent = &hwif->gendev; drive->gendev.bus = &ide_bus_type; drive->gendev.driver_data = drive;