Re: [RFC 2.6.27 1/1] gpiolib: add support for batch set of pins

From: David Brownell
Date: Sat Nov 29 2008 - 22:27:36 EST


On Saturday 29 November 2008, Jaya Kumar wrote:
> Given that _bus() isn't appropriate anymore, how does
> "gpio_set_values" and .sets sound and correspondingly gpio_get_values
> and .gets?

Confusingly similar to the single value version: a single letter.
Far better to use "bitmask" or something similar ...

... also, better to split out discussions of gpio_chip methods
(NOT used by all implementors of the GPIO interfaces) from the
discussion of those interfaces (implemented uniformly on all
platforms that support any of the calls).

--
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/