On Wednesday 23 November 2011 17:33:02 Mike Frysinger wrote:
> On Wednesday 23 November 2011 16:10:49 Robert Deliën wrote:
> > -#ifndef name_to_gpio
> > -#define name_to_gpio(name) simple_strtoul(name, NULL, 10)
> > +#ifndef gpio_name_to_pin
> > +#define gpio_name_to_pin(name) simple_strtoul(na
On Wednesday 23 November 2011 16:10:49 Robert Deliën wrote:
> -#ifndef name_to_gpio
> -#define name_to_gpio(name) simple_strtoul(name, NULL, 10)
> +#ifndef gpio_name_to_pin
> +#define gpio_name_to_pin(name) simple_strtoul(name, NULL, 10)
> #endif
as for the underlying reason, i don't have a
On Wednesday 23 November 2011 16:10:49 Robert Deliën wrote:
> This patch adds pin name support in the GPIO driver. With this patch
> applied, the gpio command supports pins to be addressed with friendly
> names.
this patch is mangled as well
> --- a/arch/blackfin/include/asm/gpio.h
> +++ b/arch/b
This patch adds pin name support in the GPIO driver. With this patch applied,
the gpio command supports pins to be addressed with friendly names.
Please note:
Function gpio_name_to_pin checks for set bits getting lost in translation and
returns -EINVAL if this occurs, but a correctly translated
4 matches
Mail list logo