gpio: remove unused GPIO_INT_CLOCK_SYNC flag

GPIO_INT_CLOCK_SYNC wasn't implemented by anything, so remove it.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2018-10-02 12:04:04 -05:00 committed by Kumar Gala
commit 58ec6fd30f
2 changed files with 0 additions and 8 deletions

View file

@ -139,11 +139,6 @@ static int gpio_cc2650_config_pin(int pin, int flags)
iocfg_config |= CC2650_IOC_NEG_AND_POS_EDGE_DET; iocfg_config |= CC2650_IOC_NEG_AND_POS_EDGE_DET;
} }
if (flags & GPIO_INT_CLOCK_SYNC) {
/* Don't commit changes */
return -ENOTSUP;
}
if (flags & GPIO_INT_DEBOUNCE) { if (flags & GPIO_INT_DEBOUNCE) {
iocfg_config |= CC2650_IOC_HYSTERESIS_ENABLED; iocfg_config |= CC2650_IOC_HYSTERESIS_ENABLED;
} else { } else {

View file

@ -40,9 +40,6 @@
/** GPIO pin trigger on level high or rising edge. */ /** GPIO pin trigger on level high or rising edge. */
#define GPIO_INT_ACTIVE_HIGH (1 << 2) #define GPIO_INT_ACTIVE_HIGH (1 << 2)
/** GPIO pin trigger to be synchronized to clock pulses. */
#define GPIO_INT_CLOCK_SYNC (1 << 3)
/** Enable GPIO pin debounce. */ /** Enable GPIO pin debounce. */
#define GPIO_INT_DEBOUNCE (1 << 4) #define GPIO_INT_DEBOUNCE (1 << 4)