Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1562644

[PATCH v2 2/2] HID: whitespace cleanup

From Dennis Chen <barracks510@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v2 2/2] HID: whitespace cleanup
Date 2017-01-19 12:50 +0100
Message-ID <t1jo6-10B-17@gated-at.bofh.it> (permalink)
References <t1jo6-10B-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Removes trailing whitespace in hid-core.c and usbhid/hid-quirks.c

Signed-off-by: Dennis Chen <barracks510@gmail.com>
---
 drivers/hid/hid-core.c          | 2 +-
 drivers/hid/usbhid/hid-quirks.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 3d78f2a..52863e7 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -2302,7 +2302,7 @@ __ATTRIBUTE_GROUPS(hid_dev);
 
 static int hid_uevent(struct device *dev, struct kobj_uevent_env *env)
 {
-	struct hid_device *hdev = to_hid_device(dev);	
+	struct hid_device *hdev = to_hid_device(dev);
 
 	if (add_uevent_var(env, "HID_ID=%04X:%08X:%08X",
 			hdev->bus, hdev->vendor, hdev->product))
diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c
index a1e5dc3..80df173 100644
--- a/drivers/hid/usbhid/hid-quirks.c
+++ b/drivers/hid/usbhid/hid-quirks.c
@@ -290,7 +290,7 @@ static void usbhid_remove_all_dquirks(void)
 
 }
 
-/** 
+/**
  * usbhid_quirks_init: apply USB HID quirks specified at module load time
  */
 int usbhid_quirks_init(char **quirks_param)
@@ -354,7 +354,7 @@ static const struct hid_blacklist *usbhid_exists_squirk(const u16 idVendor,
 
 	if (bl_entry != NULL)
 		dbg_hid("Found squirk 0x%x for USB HID vendor 0x%hx prod 0x%hx\n",
-				bl_entry->quirks, bl_entry->idVendor, 
+				bl_entry->quirks, bl_entry->idVendor,
 				bl_entry->idProduct);
 	return bl_entry;
 }
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] HID: multitouch: enable Surface 3 Type Cover Pro to report  multitouch data Dennis Chen <barracks510@gmail.com> - 2017-01-19 11:00 +0100
  Re: [PATCH] HID: multitouch: enable Surface 3 Type Cover Pro to  report multitouch data Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-01-19 11:50 +0100
  [PATCH v2 1/2] HID: multitouch: enable Surface 3 Type Cover Pro to report multitouch data Dennis Chen <barracks510@gmail.com> - 2017-01-19 12:50 +0100
    [PATCH v2 2/2] HID: whitespace cleanup Dennis Chen <barracks510@gmail.com> - 2017-01-19 12:50 +0100
    Re: [PATCH v2 1/2] HID: multitouch: enable Surface 3 Type Cover Pro  to report multitouch data Benjamin Tissoires <benjamin.tissoires@redhat.com> - 2017-01-20 14:20 +0100
    Re: [PATCH v2 1/2] HID: multitouch: enable Surface 3 Type Cover Pro  to report multitouch data Jiri Kosina <jikos@kernel.org> - 2017-01-20 15:40 +0100

csiph-web