diff options
author | Jeff Garzik <jeff@garzik.org> | 2013-01-25 21:30:23 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2013-01-25 21:30:23 +0100 |
commit | e175435ed281d06ffd56d4edc8a2dd56f8672f07 (patch) | |
tree | b6a623622b8e807400aa9a86d1068aa41485077a /drivers/ata/libata-transport.c | |
parent | libata: do not suspend port if normal ODD is attached (diff) | |
download | linux-e175435ed281d06ffd56d4edc8a2dd56f8672f07.tar.xz linux-e175435ed281d06ffd56d4edc8a2dd56f8672f07.zip |
Revert "libata: export host controller number thru /sys"
This reverts commit 1757d902b029a29dfcef63609964385cf8865b5a.
Discussion continues upstream.
Diffstat (limited to 'drivers/ata/libata-transport.c')
-rw-r--r-- | drivers/ata/libata-transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-transport.c b/drivers/ata/libata-transport.c index 61dca7a20a31..c04d393d20c1 100644 --- a/drivers/ata/libata-transport.c +++ b/drivers/ata/libata-transport.c @@ -284,7 +284,7 @@ int ata_tport_add(struct device *parent, dev->parent = get_device(parent); dev->release = ata_tport_release; - dev_set_name(dev, "ata%d.%d", ap->host->host_id, ap->print_id); + dev_set_name(dev, "ata%d", ap->print_id); transport_setup_device(dev); error = device_add(dev); if (error) { |