---
name: "matrix_keypad_parse_of_params"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/matrix_keypad_parse_of_params"
---

# matrix\_keypad\_parse\_of\_params(9)

Read parameters from matrix-keypad node

## 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
