Re: [PATCH] Give gpiolib an implementation of gpio_is_valid()

From: David Brownell
Date: Sat Apr 26 2008 - 12:12:51 EST


On Saturday 26 April 2008, Ben Nizette wrote:
> Platforms which use generic (NOP) gpio routines get an implementation of
> gpio_is_valid() (in linux/gpio.h) but the people who actually use gpio
> don't get one.  Roll an implementation for gpiolib based on
> gpio_request(); this ought to do for most people.

There's already a gpio_is_valid() patch in the MM merge queue;
it comes with the documentation, and covers implementations which
include the <asm-generic/gpio.h> header (for cansleep stubs) but
don't use gpiolib.

So, please wait till RC1, by which time I expect Andrew's queue
will be relatively depleted. :)

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