[source] om-watchdog: cosmetic code style fixes

LEDE Commits lede-commits at lists.infradead.org
Mon May 15 14:03:35 PDT 2017


pepe2k pushed a commit to source.git, branch master:
https://git.lede-project.org/08ab3fda01e1c59fd4b3f94b089b30eb486f72b4

commit 08ab3fda01e1c59fd4b3f94b089b30eb486f72b4
Author: Piotr Dymacz <pepe2k at gmail.com>
AuthorDate: Fri May 12 00:10:11 2017 +0200

    om-watchdog: cosmetic code style fixes
    
    Signed-off-by: Piotr Dymacz <pepe2k at gmail.com>
---
 package/kernel/om-watchdog/files/om-watchdog.init | 62 +++++++++++------------
 1 file 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



More information about the lede-commits mailing list