twl4030-gpio debounce cleanup
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 7 Nov 2008 19:59:49 +0000 (11:59 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 7 Nov 2008 20:05:24 +0000 (12:05 -0800)
Provide a static debounce configuration mechanism for twl4030 GPIOs,
replacing the previous dynamic one.  The single user of that mechanism
was for MMC card detect debouncing.

Boards can provide a bitmask saying which GPIOs to debounce (30 msec).
It's always enabled for pins with the MMC card-detect/VMMCx link active,
so most boards won't need to set the debounce mask.

This is a net code shrink, including runtime footprint.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found