extcon: gpio: Use gpio driver/chip debounce if supported
authorGuenter Roeck <linux@roeck-us.net>
Wed, 11 Sep 2013 02:16:18 +0000 (19:16 -0700)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 27 Sep 2013 00:37:00 +0000 (09:37 +0900)
commit338de0ca682ca95d3f6185459e11540c37dd8a2a
tree68bf1fdd6a040e8838755449bbe7e0566e4af09f
parent1073514b11c221081c7c1f4a14b3eee5365385fa
extcon: gpio: Use gpio driver/chip debounce if supported

This patch use gpio_set_debounce() API provided from gpiolib if SoC or device
driver with gpio support gpio_set_debounce() function.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-gpio.c