[PATCH] pio: add arch specific gpio_is_valid() function

Alan Cox alan at lxorguk.ukuu.org.uk
Tue Sep 7 17:22:30 EDT 2010

> Adding:
> 	 device->output_pin = -EINVAL;

gpio numbers are unsigned in the rest of the API

It's unfortunate that 0 was used for a GPIO - I take it this is too late
to get fixed as we had to fix IRQ numbering and the like ?

More information about the linux-arm-kernel mailing list