summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/imx_watchdog.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2015-12-15 22:27:57 +0000
committerStefano Babic <sbabic@denx.de>2016-01-07 17:54:16 +0100
commit88f91d1375aaf4d21d77a2f2daa351dea9132a58 (patch)
tree773d349d3cbd8d2abea662bda72a4d026281bed7 /drivers/watchdog/imx_watchdog.c
parentfcbe8c56743a1f8ec397a71d5a932faee920bc8a (diff)
downloadblackbird-obmc-uboot-88f91d1375aaf4d21d77a2f2daa351dea9132a58.tar.gz
blackbird-obmc-uboot-88f91d1375aaf4d21d77a2f2daa351dea9132a58.zip
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 <mans@mansr.com> Reviewed-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'drivers/watchdog/imx_watchdog.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud