jtag: sysfsgpio: clean up swd gpios 84/4784/2
authorReto Schneider <code@reto-schneider.ch>
Sun, 2 Dec 2018 06:14:27 +0000 (06:14 +0000)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 11 Dec 2018 13:26:22 +0000 (13:26 +0000)
commita50964246dac4116d01e57102341242cf307243c
tree3c21dbaf2f060a1c7c4e74eb21b8fafe865b61ae
parent8f47a09cc55a1d2030b7d0df11668b6cb4f2a905
jtag: sysfsgpio: clean up swd gpios

All SWD GPIOs should be un-exported when no longer needed, not just
srst.

Change-Id: I998377afe43b72446cab3da2d4406fc2912ff8c3
Signed-off-by: Reto Schneider <code@reto-schneider.ch>
Reviewed-on: http://openocd.zylin.com/4784
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
src/jtag/drivers/sysfsgpio.c