aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sata_sil.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-02-12 20:02:46 -0500
committerJeff Garzik <jgarzik@pobox.com>2006-02-20 04:54:22 -0500
commit6a62a04d4705df4f9f9bee39e889b9e920eeca47 (patch)
treeea1b13e887740b69f7cd24e602802599c3fb8e76 /drivers/scsi/sata_sil.c
parent5b2ffed906a3ebd4e52a5bbef06b99a517c53e4b (diff)
[PATCH] libata: rename ata_dev_id_[c_]string()
This patch renames ata_dev_id_[c_]string() to ata_id_[c_]string(). All other functions which read data from ATA ID data start with ata_id and those two function names were getting too long. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/scsi/sata_sil.c')
-rw-r--r--drivers/scsi/sata_sil.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/sata_sil.c b/drivers/scsi/sata_sil.c
index 15346888faf2..e14ed4ebbeed 100644
--- a/drivers/scsi/sata_sil.c
+++ b/drivers/scsi/sata_sil.c
@@ -338,8 +338,7 @@ static void sil_dev_config(struct ata_port *ap, struct ata_device *dev)
338 unsigned int n, quirks = 0; 338 unsigned int n, quirks = 0;
339 unsigned char model_num[41]; 339 unsigned char model_num[41];
340 340
341 ata_dev_id_c_string(dev->id, model_num, ATA_ID_PROD_OFS, 341 ata_id_c_string(dev->id, model_num, ATA_ID_PROD_OFS, sizeof(model_num));
342 sizeof(model_num));
343 342
344 for (n = 0; sil_blacklist[n].product; n++) 343 for (n = 0; sil_blacklist[n].product; n++)
345 if (!strcmp(sil_blacklist[n].product, model_num)) { 344 if (!strcmp(sil_blacklist[n].product, model_num)) {