Skip to content

Commit

Permalink
libata: struct device - replace bus_id with dev_name(), dev_set_name()
Browse files Browse the repository at this point in the history
Cc: Jeff Garzik <jgarzik@redhat.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Kay Sievers authored and Greg Kroah-Hartman committed Jan 6, 2009
1 parent 169539c commit b9d5fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/libata-scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -3369,7 +3369,7 @@ static void ata_scsi_remove_dev(struct ata_device *dev)

if (sdev) {
ata_dev_printk(dev, KERN_INFO, "detaching (SCSI %s)\n",
sdev->sdev_gendev.bus_id);
dev_name(&sdev->sdev_gendev));

scsi_remove_device(sdev);
scsi_device_put(sdev);
Expand Down

0 comments on commit b9d5fc4

Please sign in to comment.