[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4FAE9C59.4030108@mev.co.uk>
Date: Sat, 12 May 2012 18:22:33 +0100
From: Ian Abbott <abbotti@....co.uk>
To: "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
CC: H Hartley Sweeten <hartleys@...ionengravers.com>,
Ian Abbott <ian.abbott@....co.uk>,
"devel@...verdev.osuosl.org" <devel@...verdev.osuosl.org>,
"fmhess@...rs.sourceforge.net" <fmhess@...rs.sourceforge.net>,
Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] staging: comedi: Add helper macro for comedi pci driver
boilerplate
On 11/05/2012 22:59, gregkh@...uxfoundation.org wrote:
> On Fri, May 11, 2012 at 01:26:37PM -0500, H Hartley Sweeten wrote:
>> How about doing this in the register function:
>>
>> If (!pci_driver->name)
>> pci_driver->name = comedi_driver->driver_name;
>>
>> This way all the drivers that still need to be refactored will still work.
>>
>> After all the drivers have been updated, those two lines can be
>> removed.
>>
>> So we have this patch and one big patch updating all the refactored
>> drivers. Some number of patches refactoring the remaining drivers
>> and using the module_comedi_pci_driver macro. Then one last
>> patch removing the check above.
>>
>> How does that sound?
>
> That sounds reasonable to me.
Sounds reasonable to me too.
--
-=( 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