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