matrix_keypad_parse_of_params(9) 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