lkml.org 
[lkml]   [2013]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] gpio: rewrite gpiochip_offset_to_desc()
From
On Tue, Dec 3, 2013 at 4:31 AM, Alexandre Courbot <acourbot@nvidia.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@nvidia.com>

Patch applied.

Yours,
Linus Walleij


\
 
 \ /
  Last update: 2013-12-04 14:41    [W:0.356 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site