Skip to content
Snippets Groups Projects
user avatar
Jean-Jacques Hiblot authored
Add managed functions to get a gpio from the devce-tree, based on a
property name (minus the '-gpios' suffix) and optionally an index.

When the device is unbound, the GPIO is automatically released and the
data structure is freed.

Signed-off-by: default avatarJean-Jacques Hiblot <jjhiblot@ti.com>
Signed-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
276e0255
History
Name Last commit Last update