diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-01-06 14:42:26 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-06 15:59:25 -0800 |
commit | cabb3fc4bd1628c37c37e054960eb3e4bf30dc26 (patch) | |
tree | db8acce21cc4c9762da5f815779ec702f5a59c0c /drivers/net/ibmlana.h | |
parent | ba6c4033b9db22cb54e7e03dae5b624b7b0ffaf9 (diff) | |
download | op-kernel-dev-cabb3fc4bd1628c37c37e054960eb3e4bf30dc26.zip op-kernel-dev-cabb3fc4bd1628c37c37e054960eb3e4bf30dc26.tar.gz |
twl4030-gpio: cleanup debounce
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/ibmlana.h')
0 files changed, 0 insertions, 0 deletions