Re: [kj]patch7:replace pci_find_device in sound/oss/trident.c

From: Alan Cox
Date: Tue Mar 06 2007 - 10:38:05 EST


On Tue, 06 Mar 2007 15:31:27 +0530
Surya <surya.prabhakar@xxxxxxxxx> wrote:

> Hi,
> Cleanup of pci_find_device to pci_get_device in sound/oss/trident.c
> Applies and compiles clean to latest Linus tree. Not tested!


Thanks.

I would move the pci_dev_put inside the if as well (the variable is only
used in the ALi section so could itself also be moved), but the fix
appears correct.

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/