diff mbox

[2/2] gpio: Document device_node's det_debounce

Message ID 1348559774-15484-2-git-send-email-stigge@antcom.de (mailing list archive)
State New, archived
Headers show

Commit Message

Roland Stigge Sept. 25, 2012, 7:56 a.m. UTC
This patch adds documentation for set_debounce in struct device_node.

Signed-off-by: Roland Stigge <stigge@antcom.de>

---
 include/asm-generic/gpio.h |    2 ++
 1 file changed, 2 insertions(+)

Comments

Linus Walleij Sept. 30, 2012, 8:27 a.m. UTC | #1
On Tue, Sep 25, 2012 at 9:56 AM, Roland Stigge <stigge@antcom.de> wrote:

> This patch adds documentation for set_debounce in struct device_node.
>
> Signed-off-by: Roland Stigge <stigge@antcom.de>

Applied, thanks!
Linus Walleij
diff mbox

Patch

--- linux-2.6.orig/include/asm-generic/gpio.h
+++ linux-2.6/include/asm-generic/gpio.h
@@ -60,6 +60,8 @@  struct device_node;
  * @get: returns value for signal "offset"; for output signals this
  *	returns either the value actually sensed, or zero
  * @direction_output: configures signal "offset" as output, or returns error
+ * @set_debounce: optional hook for setting debounce time for specified gpio in
+ *      interrupt triggered gpio chips
  * @set: assigns output value for signal "offset"
  * @to_irq: optional hook supporting non-static gpio_to_irq() mappings;
  *	implementation may not sleep