[PATCH 01/50] it8213: fix return value in it8213_init_one()

Bartlomiej Zolnierkiewicz
2008-07-06T17:35:38Z

[-- Attachment #1: it8213-fix-return-value-in-it8213_init_one.patch --]
[-- Type: text/plain, Size: 687 bytes --]

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/pci/it8213.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

Index: b/drivers/ide/pci/it8213.c
===================================================================
--- a/drivers/ide/pci/it8213.c
+++ b/drivers/ide/pci/it8213.c
@@ -184,8 +184,7 @@ static const struct ide_port_info it8213

static int __devinit it8213_init_one(struct pci_dev *dev, const struct pci_device_id *id)
{
- ide_setup_pci_device(dev, &it8213_chipsets[id->driver_data]);
- return 0;
+ return ide_setup_pci_device(dev, &it8213_chipsets[id->driver_data]);
}

static const struct pci_device_id it8213_pci_tbl[] = {

--