Re: [GIT PULL] omap changes for v2.6.39 merge window
From: Felipe Balbi
Date: Thu Mar 31 2011 - 07:27:34 EST
Hi,
On Wed, Mar 30, 2011 at 08:24:30PM -0700, Linus Torvalds wrote:
> So let's take a really simple example of this kind of crap.
>
> Do this:
>
> git ls-files arch/arm/ | grep gpio
>
> and cry. That's 145 files in the arm directory that are some kind of
> crazy gpio support.
Most likely those are remanescent from times when we didn't have
gpiolib. It's not long ago (about 2 years) that David Brownell (rip, my
friend) introduced it to the kernel. So those should be converted to
gpiolib and moved to drivers/gpio/ but it doesn't mean we don't need
that piece of code.
With different register layout, register offsets, register sizes, etc,
it would be way uglier to combine all those into one big hacky driver.
--
balbi
--
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/