Skip to content
Commit b1ba284b authored by Michał Barnaś's avatar Michał Barnaś Committed by Carles Cufí
Browse files

gpio: add function to get current configuration



Add gpio_pin_get_config function to gpio_driver_api.
This function is used to read current configuration of pin.
The gpio_pin_get_config checks if driver implements this function and
returns -ENOSYS if it isn't implemented.

Signed-off-by: default avatarMichał Barnaś <mb@semihalf.com>
parent 819079a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment