1MATRIX_KEYPAD_PARSE_(9) Input Subsystem MATRIX_KEYPAD_PARSE_(9)
23
4
NAME
6matrix_keypad_parse_of_params - Read parameters from matrix-keypad node
7
SYNOPSIS
9int matrix_keypad_parse_of_params(struct device * dev,
10unsigned int * rows,
11unsigned int * cols);
12
ARGUMENTS
14dev
15Device containing of_node
1617
rows
18Returns number of matrix rows
1920
cols
21Returns number of matrix columns return 0 if OK, <0 on error
22
COPYRIGHT
24Kernel Hackers Manual 3.10 June 2019 MATRIX_KEYPAD_PARSE_(9)