[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5007F39F.1020601@mev.co.uk>
Date: Thu, 19 Jul 2012 12:46:39 +0100
From: Ian Abbott <abbotti@....co.uk>
To: H Hartley Sweeten <hartleys@...ionengravers.com>
CC: Linux Kernel <linux-kernel@...r.kernel.org>,
"devel@...verdev.osuosl.org" <devel@...verdev.osuosl.org>,
Ian Abbott <ian.abbott@....co.uk>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
Subject: Re: [PATCH 65/90] staging: comedi: dt3000: cleanup "find pci device"
code
On 2012-07-19 02:57, H Hartley Sweeten wrote:
> The "find pci device" code for this driver was split between
> two functions which could cause the driver to walk the pci
> bus multiple times while looking for a match.
Actually the original version only walks through the PCI devices once
(due to the `from` parameter in dt_pci_find_device()), but your version
is cleaner.
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@....co.uk> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists