Messages in this thread | | | Date | Wed, 8 Sep 2010 01:11:12 +0100 | From | Alan Cox <> | Subject | Re: [PATCH] pio: add arch specific gpio_is_valid() function |
| |
On Tue, 7 Sep 2010 16:44:55 -0700 (PDT) David Brownell <david-b@pacbell.net> wrote:
> > > --- On Tue, 9/7/10, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote: > > > > > > device->output_pin = -EINVAL; > > > > gpio numbers are unsigned in the rest of the API > > Minor goof; should have been "int" everywhere, > as implied by the references to negative numbers > in the docs... negatives not used internally, but > preserved for external use (as above).
Ok I need to patch a couple of the intel drivers to use -1 then.
Alan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |