om-watchdog: cosmetic code style fixes

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
openwrt-18.06
Piotr Dymacz 2017-05-12 00:10:11 +02:00
parent f7e84a4a2e
commit 08ab3fda01
1 changed files with 31 additions and 31 deletions

View File

@ -16,17 +16,28 @@ get_gpio() {
local board=$(ar71xx_board_name) local board=$(ar71xx_board_name)
case "$board" in case "$board" in
"a40"|\
"a60"|\
"mr1750"|\
"mr1750v2"|\
"mr900"|\
"mr900v2")
return 16
;;
"mr600v2")
return 15
;;
"om2p"|\ "om2p"|\
"om2pv4" | \
"om2p-hs"|\ "om2p-hs"|\
"om2p-hsv2"|\ "om2p-hsv2"|\
"om2p-hsv3"|\ "om2p-hsv3"|\
"om2p-hsv4"|\ "om2p-hsv4"|\
"om2pv4"|\
"om5p-acv2") "om5p-acv2")
return 12 return 12
;; ;;
"om2pv2" | \ "om2p-lc"|\
"om2p-lc") "om2pv2")
return 26 return 26
;; ;;
"om5p"|\ "om5p"|\
@ -36,17 +47,6 @@ get_gpio() {
"om5p-ac") "om5p-ac")
return 17 return 17
;; ;;
"mr600v2")
return 15
;;
"mr900" | \
"mr900v2" | \
"mr1750" | \
"mr1750v2" | \
"a40" | \
"a60")
return 16
;;
esac esac
else else
#we assume it is om1p in this case #we assume it is om1p in this case