'\" t .\" Title: matrix_keypad_parse_of_params .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Input Subsystem .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "MATRIX_KEYPAD_PARSE_" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Input Subsystem" .\" ----------------------------------------------------------------- .\" * 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" matrix_keypad_parse_of_params \- Read parameters from matrix\-keypad node .SH "SYNOPSIS" .HP \w'int\ matrix_keypad_parse_of_params('u .BI "int matrix_keypad_parse_of_params(struct\ device\ *\ " "dev" ", unsigned\ int\ *\ " "rows" ", unsigned\ int\ *\ " "cols" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 Device containing of_node .RE .PP \fIrows\fR .RS 4 Returns number of matrix rows .RE .PP \fIcols\fR .RS 4 Returns number of matrix columns \fIreturn\fR 0 if OK, <0 on error .RE .SH "COPYRIGHT" .br