gpio: remove port access op support

The only remaining port operations have dedicated API function table
entries.  Remove the defines for access op (mode), and remove support
for access op from all implementations.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
This commit is contained in:
Peter Bigot 2020-01-30 09:31:07 -06:00 committed by Carles Cufí
commit c7d526be04
27 changed files with 92 additions and 280 deletions

View file

@ -205,17 +205,13 @@ static int gpio_intel_apl_isr(struct device *dev)
return 0;
}
static int gpio_intel_apl_config(struct device *dev, int access_op,
static int gpio_intel_apl_config(struct device *dev,
u32_t pin, int flags)
{
const struct gpio_intel_apl_config *cfg = dev->config->config_info;
struct gpio_intel_apl_data *data = dev->driver_data;
u32_t raw_pin, reg, cfg0, cfg1;
if (access_op != GPIO_ACCESS_BY_PIN) {
return -ENOTSUP;
}
/* Only support push-pull mode */
if ((flags & GPIO_SINGLE_ENDED) != 0U) {
return -ENOTSUP;