linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers/hid/wacom: fixed coding style issues
@ 2014-01-21 19:51 Robin Schroer
  2014-01-21 20:06 ` Dmitry Torokhov
  0 siblings, 1 reply; 8+ messages in thread
From: Robin Schroer @ 2014-01-21 19:51 UTC (permalink / raw)
  To: jkosina; +Cc: linux-input, linux-kernel

Fixed some coding style issues regarding spaces before semicolons and
closing parenthesis.

Signed-off-by: Robin Schroer <sulamiification@gmail.com>
---
 drivers/hid/hid-wacom.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/hid/hid-wacom.c b/drivers/hid/hid-wacom.c
index 60c75dc..ebcca0d 100644
--- a/drivers/hid/hid-wacom.c
+++ b/drivers/hid/hid-wacom.c
@@ -77,8 +77,8 @@ static void wacom_scramble(__u8 *image)
 	__u16 mask;
 	__u16 s1;
 	__u16 s2;
-	__u16 r1 ;
-	__u16 r2 ;
+	__u16 r1;
+	__u16 r2;
 	__u16 r;
 	__u8 buf[256];
 	int i, w, x, y, z;
@@ -336,7 +336,7 @@ static void wacom_set_features(struct hid_device *hdev, u8 speed)
 
 	switch (hdev->product) {
 	case USB_DEVICE_ID_WACOM_GRAPHIRE_BLUETOOTH:
-		rep_data[0] = 0x03 ; rep_data[1] = 0x00;
+		rep_data[0] = 0x03; rep_data[1] = 0x00;
 		limit = 3;
 		do {
 			ret = hdev->hid_output_raw_report(hdev, rep_data, 2,
@@ -404,7 +404,7 @@ static ssize_t wacom_store_speed(struct device *dev,
 	struct hid_device *hdev = container_of(dev, struct hid_device, dev);
 	int new_speed;
 
-	if (sscanf(buf, "%1d", &new_speed ) != 1)
+	if (sscanf(buf, "%1d", &new_speed) != 1)
 		return -EINVAL;
 
 	if (new_speed == 0 || new_speed == 1) {
-- 
1.8.4.2


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-01-22 14:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-21 19:51 [PATCH] drivers/hid/wacom: fixed coding style issues Robin Schroer
2014-01-21 20:06 ` Dmitry Torokhov
2014-01-21 20:29   ` Rob Schroer
2014-01-21 21:18     ` Dmitry Torokhov
2014-01-21 21:25       ` Joe Perches
2014-01-21 22:42         ` Rob Schroer
2014-01-22  6:40           ` Dmitry Torokhov
2014-01-22 14:48             ` Rob Schroer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).