DORMANTno replies

[PATCH] drivers: hid: hid-wiimote-modules: fixed code style errors

From: Sebastian Keller <hidden>
Date: 2014-02-05 00:45:33
Subsystem: hid core layer, the rest, wiimote hid driver · Maintainers: Jiri Kosina, Benjamin Tissoires, Linus Torvalds, David Rheinsberg

realigned case statements

Signed-off-by: Sebastian Keller <redacted>
---
 drivers/hid/hid-wiimote-modules.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/hid/hid-wiimote-modules.c b/drivers/hid/hid-wiimote-modules.c
index 6b61f01..b8306c2 100644
--- a/drivers/hid/hid-wiimote-modules.c
+++ b/drivers/hid/hid-wiimote-modules.c
@@ -689,15 +689,15 @@ static int wiimod_ir_change(struct wiimote_data *wdata, __u16 mode)
 
 	/* put IR cam into desired state */
 	switch (mode) {
-		case WIIPROTO_FLAG_IR_FULL:
-			format = 5;
-			break;
-		case WIIPROTO_FLAG_IR_EXT:
-			format = 3;
-			break;
-		case WIIPROTO_FLAG_IR_BASIC:
-			format = 1;
-			break;
+	case WIIPROTO_FLAG_IR_FULL:
+		format = 5;
+		break;
+	case WIIPROTO_FLAG_IR_EXT:
+		format = 3;
+		break;
+	case WIIPROTO_FLAG_IR_BASIC:
+		format = 1;
+		break;
 	}
 	ret = wiimote_cmd_write(wdata, 0xb00033, &format, sizeof(format));
 	if (ret)
-- 
1.8.5.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help