Re: [PATCH] gpio: add NCT5104D gpio driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,

Thank you for your feedback!

On 02/22/2017 10:04 PM, William Breathitt Gray wrote:
> On Wed, Feb 22, 2017 at 03:52:05PM +0100, Linus Walleij wrote:
>> On Thu, Feb 9, 2017 at 11:54 AM, Marc Pignat <marc@xxxxxxxxxx> wrote:
...
>> Please look a bit at drivers/gpio/gpio-it87.c, and gpio-f7188x.c it seems to me
>> that this is a simlar or identical chip to one of these. In that case,

Looking at gpio-f7188x.c is probably the best feedback.

In fact the patch I proposed is just a copy+modifications of an old version of 
this file.

So someone (who has put his name in the author field) has copied the gpio-f7188x.c,
changed something like 20 lines (excluding identifiers renaming) and pushed it to
github. I took it from github, tested it and passed it through checkpatch.pl and
proposed it for inclusion into the mainline kernel.

>> you should
>> augment and extend an existing driver instead of writing a new one.

Sure!

>> But I haven't
...
> 
> This plan would obviously require more time to get right, so if you
> decide to merge this particular driver now, I suggest at least using the
> isa_driver idioms for now to ease the transition to a possible future
> super_io_driver.

super_io_driver seems a good idea, in the meantime, I will try to merge the nct5104
code into gpio-f7188x.c, without the isa_driver idiom.

Best regards



Marc

--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux