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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



realigned case statements

Signed-off-by: Sebastian Keller <sebastiankeller@xxxxxxxxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux