[PATCH 3/5] gpiolib: remove duplicate pin range code

Linus Walleij linus.walleij at linaro.org
Thu Nov 8 07:54:39 EST 2012


On Wed, Nov 7, 2012 at 6:14 AM, viresh kumar <viresh.kumar at linaro.org> wrote:
> On Tue, Nov 6, 2012 at 8:46 PM, Linus Walleij
> <linus.walleij at stericsson.com> wrote:
>> From: Linus Walleij <linus.walleij at linaro.org>
>>
>> Commit 69e1601bca88809dc118abd1becb02c15a02ec71
>> "gpiolib: provide provision to register pin ranges"
>>
>> Introduced both of_gpiochip_remove_pin_range() and
>> gpiochip_remove_pin_ranges(). But the contents are exactly
>> the same so remove the OF one and rely on the range deletion
>> in the core.
>>
>> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
>
> I can't believe that i did this :(

Don't worry, it's impossible to get these things right. I am
trying to fix it properly here and just introduce new bugs
for every fix I try to make.

Maybe I'll soon have something that actually doesn't
break x86...

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list