lkml.org 
[lkml]   [2008]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC 2.6.27 1/1] gpiolib: add support for batch set of pins
On Wed, Nov 26, 2008 at 4:09 AM, Paulius Zaleckas
<paulius.zaleckas@teltonika.lt> wrote:
> Jaya Kumar wrote:
>> * @to_irq: optional hook supporting non-static gpio_to_irq() mappings;
>> * implementation may not sleep
>> * @dbg_show: optional routine to show contents in debugfs; default code
>> @@ -84,6 +86,9 @@ struct gpio_chip {
>> unsigned offset, int value);
>> void (*set)(struct gpio_chip *chip,
>> unsigned offset, int value);
>> + void (*set_bus)(struct gpio_chip *chip,
>> + unsigned offset, int values,
>
> I think values should be unsigned
>

Okay, can do but it is unusual no? since set uses int value, i figured
set_bus should be similar right?

Thanks,
jaya


\
 
 \ /
  Last update: 2008-11-26 10:21    [W:0.149 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site