[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdayNyV3znNVs3eagNxwtVJCiYS=aS0LM0P+pR2J4Fk-Bg@mail.gmail.com>
Date: Wed, 4 Dec 2013 13:46:15 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Alexandre Courbot <acourbot@...dia.com>
Cc: "linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] gpio: rewrite gpiochip_offset_to_desc()
On Tue, Dec 3, 2013 at 4:31 AM, Alexandre Courbot <acourbot@...dia.com> wrote:
> gpiochip_offset_to_desc() was using gpio_to_desc(), which directly
> addresses the global GPIO array we are hoping to get rid of someday.
> Reimplement it using the descriptor array of the chip itself, after
> checking the requested offset is within the valid bounds of the chip.
>
> Signed-off-by: Alexandre Courbot <acourbot@...dia.com>
Patch applied.
Yours,
Linus Walleij
--
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