Skip to contentSkip to conversation

drivers:hid Fix spacing coding style issues

PATCH New Bogicevic Sasa 1 participant 1 message Oct 27, 2015 HID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers:hid Fix spacing coding style issues

This fixes two spacing issues in coding style Line 163 space needed after comma
Line 203 space should not exist between function name and open parentheses

---
 drivers/hid/hid-apple.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/hid/hid-apple.c +2 -2
index 884d82f..de609ce 100644
@@ -160,7 +160,7 @@ static const struct apple_key_translation swapped_option_cmd_keys[] = {
 	{ KEY_LEFTALT,	KEY_LEFTMETA },
 	{ KEY_LEFTMETA,	KEY_LEFTALT },
 	{ KEY_RIGHTALT,	KEY_RIGHTMETA },
-	{ KEY_RIGHTMETA,KEY_RIGHTALT },
+	{ KEY_RIGHTMETA, KEY_RIGHTALT },
 	{ }
 };
 
@@ -200,7 +200,7 @@ static int hidinput_apple_event(struct hid_device *hid, struct input_dev *input,
 		else
 			table = apple_fn_keys;
 
-		trans = apple_find_translation (table, usage->code);
+		trans = apple_find_translation(table, usage->code);
 
 		if (trans) {
 			if (test_bit(usage->code, asc->pressed_fn))
Signature · 1 line
2.1.4