openwrtv3/target/linux/ar71xx/files/arch
Gabor Juhos bc178f6b15 ar71xx: mach-rbspi: simplify reset button registration
The setup code defines four individual structures for the
Reset buttons of the supported boards. The only difference
between the definitions is the GPIO number used for the
button.

Replace the different structures with one generic variant,
and add a helper function to simplify the button registration.

Signed-off-by: Gabor Juhos <juhosg@freemail.hu>
2018-01-17 11:07:17 +01:00
..
mips ar71xx: mach-rbspi: simplify reset button registration 2018-01-17 11:07:17 +01:00