pwm_request(9) request a PWM device

SYNOPSIS

struct pwm_device * pwm_request(int pwm, const char * label);

ARGUMENTS

pwm

global PWM device index

label

PWM device label

DESCRIPTION

This function is deprecated, use pwm_get instead.

RETURNS

A pointer to a PWM device or an ERR_PTR-encoded error code on failure.

COPYRIGHT