[PATCH 2/4] a bit of whitespace cleanup

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rafi Rubin
Date: Wednesday, August 25, 2010 - 9:54 pm

Signed-off-by: Rafi Rubin <rafi@seas.upenn.edu>
---
 drivers/hid/hid-ntrig.c |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/drivers/hid/hid-ntrig.c b/drivers/hid/hid-ntrig.c
index fb69b8c..43e95de 100644
--- a/drivers/hid/hid-ntrig.c
+++ b/drivers/hid/hid-ntrig.c
@@ -377,8 +377,8 @@ static struct attribute_group ntrig_attribute_group = {
  */
 
 static int ntrig_input_mapping(struct hid_device *hdev, struct hid_input *hi,
-		struct hid_field *field, struct hid_usage *usage,
-		unsigned long **bit, int *max)
+			       struct hid_field *field, struct hid_usage *usage,
+			       unsigned long **bit, int *max)
 {
 	struct ntrig_data *nd = hid_get_drvdata(hdev);
 
@@ -448,13 +448,13 @@ static int ntrig_input_mapping(struct hid_device *hdev, struct hid_input *hi,
 		/* width/height mapped on TouchMajor/TouchMinor/Orientation */
 		case HID_DG_WIDTH:
 			hid_map_usage(hi, usage, bit, max,
-					EV_ABS, ABS_MT_TOUCH_MAJOR);
+				      EV_ABS, ABS_MT_TOUCH_MAJOR);
 			return 1;
 		case HID_DG_HEIGHT:
 			hid_map_usage(hi, usage, bit, max,
-					EV_ABS, ABS_MT_TOUCH_MINOR);
+				      EV_ABS, ABS_MT_TOUCH_MINOR);
 			input_set_abs_params(hi->input, ABS_MT_ORIENTATION,
-					0, 1, 0, 0);
+					     0, 1, 0, 0);
 			return 1;
 		}
 		return 0;
@@ -468,8 +468,8 @@ static int ntrig_input_mapping(struct hid_device *hdev, struct hid_input *hi,
 }
 
 static int ntrig_input_mapped(struct hid_device *hdev, struct hid_input *hi,
-		struct hid_field *field, struct hid_usage *usage,
-		unsigned long **bit, int *max)
+			      struct hid_field *field, struct hid_usage *usage,
+			      unsigned long **bit, int *max)
 {
 	/* No special mappings needed for the pen and single touch */
 	if (field->physical)
@@ -489,7 +489,7 @@ static int ntrig_input_mapped(struct hid_device *hdev, struct hid_input *hi,
  * and call input_mt_sync after each point if necessary
  */
 static int ntrig_event (struct hid_device *hid, struct hid_field *field,
-		                        struct hid_usage *usage, __s32 value)
+			struct hid_usage *usage, __s32 value)
 {
 	struct input_dev *input = field->hidinput->input;
 	struct ntrig_data *nd = hid_get_drvdata(hid);
@@ -860,7 +860,7 @@ err_free:
 static void ntrig_remove(struct hid_device *hdev)
 {
 	sysfs_remove_group(&hdev->dev.kobj,
-			&ntrig_attribute_group);
+			   &ntrig_attribute_group);
 	hid_hw_stop(hdev);
 	kfree(hid_get_drvdata(hdev));
 }
-- 
1.7.1

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
hid-ntrig documentation and firmware id, Rafi Rubin, (Wed Aug 25, 9:54 pm)
[PATCH 1/4] Adding documention, Rafi Rubin, (Wed Aug 25, 9:54 pm)
[PATCH 2/4] a bit of whitespace cleanup, Rafi Rubin, (Wed Aug 25, 9:54 pm)
[PATCH 3/4] identify firmware version, Rafi Rubin, (Wed Aug 25, 9:54 pm)
[PATCH 4/4] firmware sysfs node, Rafi Rubin, (Wed Aug 25, 9:54 pm)
Re: [PATCH 3/4] identify firmware version, Henrik Rydberg, (Fri Aug 27, 5:01 am)
Re: [PATCH 1/4] Adding documention, Henrik Rydberg, (Fri Aug 27, 5:06 am)
Re: [PATCH 4/4] firmware sysfs node, Henrik Rydberg, (Fri Aug 27, 5:09 am)
Re: [PATCH 4/4] firmware sysfs node, Dmitry Torokhov, (Fri Aug 27, 9:34 am)
Re: [PATCH 1/4] Adding documention, Rafi Rubin, (Sun Aug 29, 12:52 pm)
Re: [PATCH 3/4] identify firmware version, Rafi Rubin, (Sun Aug 29, 12:55 pm)
Re: [PATCH 1/4] Adding documention, Jiri Kosina, (Mon Aug 30, 6:25 am)
Re: [PATCH 4/4] firmware sysfs node, Rafi Rubin, (Mon Aug 30, 7:06 pm)
Re: [PATCH 4/4] firmware sysfs node, Dmitry Torokhov, (Tue Aug 31, 7:06 pm)
[PATCH] identify firmware version, Rafi Rubin, (Wed Sep 1, 2:48 am)
Re: [PATCH] identify firmware version, Rafi Rubin, (Wed Sep 1, 3:04 am)
Re: [PATCH] identify firmware version, Henrik Rydberg, (Wed Sep 1, 5:27 am)
Re: [PATCH] identify firmware version, Jiri Slaby, (Wed Sep 1, 1:12 pm)
Re: [PATCH] identify firmware version, Rafi Rubin, (Wed Sep 1, 5:12 pm)
Re: [PATCH] identify firmware version, Jiri Slaby, (Thu Sep 2, 1:03 am)
Re: [PATCH] identify firmware version, Rafi Rubin, (Thu Sep 2, 11:00 am)
Re: [PATCH] identify firmware version, Rafi Rubin, (Thu Sep 2, 11:11 am)
[PATCH] identify firmware version, Rafi Rubin, (Mon Sep 6, 9:42 am)
Re: [PATCH] identify firmware version, Dmitry Torokhov, (Mon Sep 6, 12:48 pm)
Re: [PATCH] identify firmware version, Jiri Slaby, (Mon Sep 6, 2:22 pm)
Re: [PATCH] identify firmware version, Rafi Rubin, (Mon Sep 6, 4:32 pm)
Re: [PATCH] identify firmware version, Dmitry Torokhov, (Mon Sep 6, 4:36 pm)
Re: [PATCH] identify firmware version, Jiri Slaby, (Mon Sep 6, 11:54 pm)
Re: [PATCH] identify firmware version, Jiri Kosina, (Wed Sep 8, 2:47 am)
Re: [PATCH] identify firmware version, Rafi Rubin, (Wed Sep 8, 8:42 am)