'\" t .\" Title: pwm_request .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Pulse-Width Modulation (PWM) .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "PWM_REQUEST" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Pulse-Width Modulation (PWM)" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" pwm_request \- request a PWM device .SH "SYNOPSIS" .HP \w'struct\ pwm_device\ *\ pwm_request('u .BI "struct pwm_device * pwm_request(int\ " "pwm" ", const\ char\ *\ " "label" ");" .SH "ARGUMENTS" .PP \fIpwm\fR .RS 4 global PWM device index .RE .PP \fIlabel\fR .RS 4 PWM device label .RE .SH "DESCRIPTION" .PP This function is deprecated, use \fBpwm_get\fR instead\&. .SH "RETURN" .PP A pointer to a PWM device or an \fBERR_PTR\fR\-encoded error code on failure\&. .SH "COPYRIGHT" .br