summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-transport.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2013-01-25 21:30:23 +0100
committerJeff Garzik <jgarzik@redhat.com>2013-01-25 21:30:23 +0100
commite175435ed281d06ffd56d4edc8a2dd56f8672f07 (patch)
treeb6a623622b8e807400aa9a86d1068aa41485077a /drivers/ata/libata-transport.c
parentlibata: do not suspend port if normal ODD is attached (diff)
downloadlinux-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.c2
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) {