devm_pinctrl_put

The interface has the following parameters.
  • Synopsis:
    void devm_pinctrl_put(struct pinctrl *p)
  • Description: The interface is equal to the pinctrl_put() function, but with resource management capabilities. You can deallocate a struct pinctrl obtained via devm_pinctrl_get().
    Note: Normally, you may not need this function. Since it may release all resources.
  • Parameter:
    • p: The pin control handle to release.
  • Return: None
Note: The interface can be used only after the devm_pinctrl_get interface has been used. Otherwise, the use is invalid.