Name

pwm_set_chip_data — set private chip data for a PWM

Synopsis

int pwm_set_chip_data (struct pwm_device * pwm,
 void * data);
 

Arguments

pwm

PWM device

data

pointer to chip-specific data

Returns

0 on success or a negative error code on failure.