pinctrl_lookup_state
The interface has the following parameters.
- Synopsis:
struct pinctrl_state *pinctrl_lookup_state(struct pinctrl *p, const char *name)
- Description: The interface is used to retrieve a state handle from a pin control handle.
- Parameter:
- p: The pin control handle to retrieve the state.
- name: The name of the state you wish to retrieve to.
- Return:
- Success: The state handle from a pin control handle.
- Failure: Error code.