Commit [ae24d0] Maximize Restore History

[PATCH] gpiolib: add gpio_direction_is_output

From: Albert Herranz <albert_herranz@yahoo.es>
Date: Sun, 1 Mar 2009 19:10:07 +0100
Subject: [PATCH] gpiolib: add gpio_direction_is_output

Add a function to determine if a given gpio has been already configured
as an output.
This is handy for drivers that require changing multiple times the direction
of a gpio and want to easily avoid redundant direction changes.

Signed-off-by: Albert Herranz <albert_herranz@yahoo.es>

Albert Herranz Albert Herranz 2009-03-02

changed drivers/gpio/gpiolib.c
changed include/asm-generic/gpio.h
changed include/linux/gpio.h
drivers/gpio/gpiolib.c Diff Switch to side-by-side view
Loading...
include/asm-generic/gpio.h Diff Switch to side-by-side view
Loading...
include/linux/gpio.h Diff Switch to side-by-side view
Loading...