summaryrefslogtreecommitdiff
path: root/package/kernel/om-watchdog
diff options
context:
space:
mode:
authorPiotr Dymacz <pepe2k@gmail.com>2017-05-12 00:10:11 +0200
committerPiotr Dymacz <pepe2k@gmail.com>2017-05-15 22:55:47 +0200
commit38367c5699f1fc87ec220f318cfaa353b7c46da0 (patch)
tree470f931cd9baf1e022eef4eb58d46b599ec40c43 /package/kernel/om-watchdog
parentda4992f822995bd0d4d7d892da1b4b91412bb22b (diff)
downloadmtk-20170518-38367c5699f1fc87ec220f318cfaa353b7c46da0.zip
mtk-20170518-38367c5699f1fc87ec220f318cfaa353b7c46da0.tar.gz
mtk-20170518-38367c5699f1fc87ec220f318cfaa353b7c46da0.tar.bz2
om-watchdog: cosmetic code style fixes
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'package/kernel/om-watchdog')
-rw-r--r--package/kernel/om-watchdog/files/om-watchdog.init62
1 files changed, 31 insertions, 31 deletions
diff --git a/package/kernel/om-watchdog/files/om-watchdog.init b/package/kernel/om-watchdog/files/om-watchdog.init
index 4ba6bea..7d5d216 100644
--- a/package/kernel/om-watchdog/files/om-watchdog.init
+++ b/package/kernel/om-watchdog/files/om-watchdog.init
@@ -16,37 +16,37 @@ get_gpio() {
local board=$(ar71xx_board_name)
case "$board" in
- "om2p" | \
- "om2pv4" | \
- "om2p-hs" | \
- "om2p-hsv2" | \
- "om2p-hsv3" | \
- "om2p-hsv4" | \
- "om5p-acv2")
- return 12
- ;;
- "om2pv2" | \
- "om2p-lc")
- return 26
- ;;
- "om5p" | \
- "om5p-an")
- return 11
- ;;
- "om5p-ac")
- return 17
- ;;
- "mr600v2")
- return 15
- ;;
- "mr900" | \
- "mr900v2" | \
- "mr1750" | \
- "mr1750v2" | \
- "a40" | \
- "a60")
- return 16
- ;;
+ "a40"|\
+ "a60"|\
+ "mr1750"|\
+ "mr1750v2"|\
+ "mr900"|\
+ "mr900v2")
+ return 16
+ ;;
+ "mr600v2")
+ return 15
+ ;;
+ "om2p"|\
+ "om2p-hs"|\
+ "om2p-hsv2"|\
+ "om2p-hsv3"|\
+ "om2p-hsv4"|\
+ "om2pv4"|\
+ "om5p-acv2")
+ return 12
+ ;;
+ "om2p-lc"|\
+ "om2pv2")
+ return 26
+ ;;
+ "om5p"|\
+ "om5p-an")
+ return 11
+ ;;
+ "om5p-ac")
+ return 17
+ ;;
esac
else
#we assume it is om1p in this case