From: Bartlomiej Zolnierkiewicz Date: Tue, 8 Jul 2008 17:27:23 +0000 (+0200) Subject: it8213: fix return value in it8213_init_one() X-Git-Tag: v2.6.26~46^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be305042b7a01a1ab03a8adfa95f57bc63e012e1;p=linux-2.6 it8213: fix return value in it8213_init_one() Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/pci/it8213.c b/drivers/ide/pci/it8213.c index 9053c8771e..2b71bdf74e 100644 --- a/drivers/ide/pci/it8213.c +++ b/drivers/ide/pci/it8213.c @@ -184,8 +184,7 @@ static const struct ide_port_info it8213_chipsets[] __devinitdata = { 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[] = {