[PATCH 5/5] sixaxis: Fix multi-line comments style

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

 



---
 plugins/sixaxis.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/plugins/sixaxis.c b/plugins/sixaxis.c
index 782a89f..9b6cad4 100644
--- a/plugins/sixaxis.c
+++ b/plugins/sixaxis.c
@@ -435,9 +435,11 @@ static bool setup_device(int fd, int index, struct btd_adapter *adapter)
 	if (get_master_bdaddr(fd, &master_bdaddr) < 0)
 		return false;
 
-	/* This can happen if controller was plugged while already connected
+	/*
+	 * This can happen if controller was plugged while already connected
 	 * eg. to charge up battery.
-	 * Don't set LEDs in that case, hence return false */
+	 * Don't set LEDs in that case, hence return false
+	 */
 	device = btd_adapter_find_device(adapter, &device_bdaddr,
 							BDADDR_BREDR);
 	if (device && btd_device_is_connected(device))
@@ -533,8 +535,10 @@ static int get_js_number(struct udev_device *udevice)
 		if (!input_parent)
 			goto next;
 
-		/* check if this is the joystick relative to the hidraw device
-		 * above */
+		/*
+		 * check if this is the joystick relative to the hidraw device
+		 * above
+		 */
 		input_id = udev_device_get_sysattr_value(input_parent, "uniq");
 
 		/*
-- 
2.1.4

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



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux