提交 15261f6d 编写于 作者: A Andy Shevchenko 提交者: Jiri Kosina

HID: hid-sensor-hub: fix style of comments

This patch fixes the style of the comments to be like following
	/* The commentary */

There is no functional change.
Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 c0b20fd9
...@@ -416,7 +416,7 @@ static int sensor_hub_raw_event(struct hid_device *hdev, ...@@ -416,7 +416,7 @@ static int sensor_hub_raw_event(struct hid_device *hdev,
return 1; return 1;
ptr = raw_data; ptr = raw_data;
ptr++; /*Skip report id*/ ptr++; /* Skip report id */
spin_lock_irqsave(&pdata->lock, flags); spin_lock_irqsave(&pdata->lock, flags);
......
...@@ -172,7 +172,7 @@ struct hid_sensor_common { ...@@ -172,7 +172,7 @@ struct hid_sensor_common {
struct hid_sensor_hub_attribute_info sensitivity; 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) static inline int hid_sensor_convert_exponent(int unit_expo)
{ {
if (unit_expo < 0x08) if (unit_expo < 0x08)
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#define HID_USAGE_SENSOR_ANGL_VELOCITY_Y_AXIS 0x200458 #define HID_USAGE_SENSOR_ANGL_VELOCITY_Y_AXIS 0x200458
#define HID_USAGE_SENSOR_ANGL_VELOCITY_Z_AXIS 0x200459 #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_COMPASS_3D 0x200083
#define HID_USAGE_SENSOR_ORIENT_MAGN_HEADING 0x200471 #define HID_USAGE_SENSOR_ORIENT_MAGN_HEADING 0x200471
#define HID_USAGE_SENSOR_ORIENT_MAGN_HEADING_X 0x200472 #define HID_USAGE_SENSOR_ORIENT_MAGN_HEADING_X 0x200472
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册