Skip to content
Commit a6b09191 authored by John Bonesio's avatar John Bonesio Committed by Grant Likely
Browse files

of/gpio: Add new method for getting gpios under different property names



This patch adds a new routine, of_get_named_gpio_flags(), which takes the
property name as a parameter rather than assuming "gpios".

of_get_gpio_flags() is modified to call of_get_named_gpio_flags() with "gpios"
as the property parameter.

Signed-off-by: default avatarJohn Bonesio <bones@secretlab.ca>
[grant.likely: Tidied up whitespace and tweaked kerneldoc comments.]
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent bf859f84
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment