HID: hid-sensor-hub: fix style of comments
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 14 Aug 2013 08:07:08 +0000 (11:07 +0300)
committerJiri Kosina <jkosina@suse.cz>
Mon, 26 Aug 2013 11:46:11 +0000 (13:46 +0200)
This patch fixes the style of the comments to be like following
/* The commentary */

There is no functional change.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sensor-hub.c
include/linux/hid-sensor-hub.h
include/linux/hid-sensor-ids.h

index ca74981073271effdddc72ba1f173acea27ebbf9..ffc80cf481b438e68c13992ede4352f6c480870a 100644 (file)
@@ -416,7 +416,7 @@ static int sensor_hub_raw_event(struct hid_device *hdev,
                return 1;
 
        ptr = raw_data;
-       ptr++; /*Skip report id*/
+       ptr++; /* Skip report id */
 
        spin_lock_irqsave(&pdata->lock, flags);
 
index ecefb7311dd61c2310114c71a0e2f54608ce3597..32ba45158d39eaf050adfc411118163f23858b4f 100644 (file)
@@ -172,7 +172,7 @@ struct hid_sensor_common {
        struct hid_sensor_hub_attribute_info sensitivity;
 };
 
-/*Convert from hid unit expo to regular exponent*/
+/* Convert from hid unit expo to regular exponent */
 static inline int hid_sensor_convert_exponent(int unit_expo)
 {
        if (unit_expo < 0x08)
index 6f24446e76699b295eef42e6e8946388766a121e..4f945d3ed49fc7a511affdc307ea84aff60565cb 100644 (file)
@@ -37,7 +37,7 @@
 #define HID_USAGE_SENSOR_ANGL_VELOCITY_Y_AXIS                  0x200458
 #define HID_USAGE_SENSOR_ANGL_VELOCITY_Z_AXIS                  0x200459
 
-/*ORIENTATION: Compass 3D: (200083) */
+/* ORIENTATION: Compass 3D: (200083) */
 #define HID_USAGE_SENSOR_COMPASS_3D                            0x200083
 #define HID_USAGE_SENSOR_ORIENT_MAGN_HEADING                   0x200471
 #define HID_USAGE_SENSOR_ORIENT_MAGN_HEADING_X                 0x200472