Read parameters from matrix-keypad node
int matrix_keypad_parse_of_params(struct device * dev, unsigned int * rows, unsigned int * cols);
dev
Device containing of_node
rows
Returns number of matrix rows
cols
Returns number of matrix columns return 0 if OK, <0 on error