devm_pinctrl_get

The interface has the following parameters.
  • Synopsis:
    struct pinctrl *devm_pinctrl_get(struct device *dev)
  • Description: The interface is equal to the pinctrl_get() (pinctrl_get) interface, but with resource management capabilities.
  • Parameter:
    • dev: The device to which the pin operation applies.
  • Return:
    • Success: Pin control handle.
    • Failure: Error code.