pinctrl_get

The interface has the following parameters.
  • Synopsis:
    struct pinctrl *pinctrl_get(struct device *dev)
  • Description: The interface is used to load the pin operations handle from the device. All operations are based on this pin control handle.
  • Parameter:
    • dev: The device to which the pin operation applies.
  • Return:
    • Success: Pinctrl handle.
    • Failure: Error code.