diff options
| author | Måns Rullgård <[email protected]> | 2015-12-15 22:27:57 +0000 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2016-01-07 17:54:16 +0100 |
| commit | 88f91d1375aaf4d21d77a2f2daa351dea9132a58 (patch) | |
| tree | 773d349d3cbd8d2abea662bda72a4d026281bed7 /scripts/basic | |
| parent | fcbe8c56743a1f8ec397a71d5a932faee920bc8a (diff) | |
gpio: mxs: add name_to_gpio() function
Override the default name_to_gpio() function with one that
accepts strings of the form bank:pin. If a colon is present
in the provided name, it behaves like the default version.
This lets the "gpio" command work with sane names rather than
requiring the user to enter the bank/pin composite in decimal.
Signed-off-by: Mans Rullgard <[email protected]>
Reviewed-by: Stefano Babic <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
