Scroll to navigation

MATRIX_KEYPAD_PARSE_(9) Input Subsystem MATRIX_KEYPAD_PARSE_(9)

NAME

matrix_keypad_parse_of_params - Read parameters from matrix-keypad node

SYNOPSIS

int matrix_keypad_parse_of_params(struct device * dev, unsigned int * rows, unsigned int * cols);

ARGUMENTS

dev

Device containing of_node

rows

Returns number of matrix rows

cols

Returns number of matrix columns return 0 if OK, <0 on error

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10