pwmchip_add

The interface has the following parameters.
  • Synopsis:
    int pwmchip_add(struct pwm_chip *chip)
  • Description: The interface is used to register a new PWM chip.
  • Parameter:
    • chip: The PWM chip to add.
  • Return:
    • Success: 0.
    • Failure: Error code.