@@ -157,10 +157,10 @@ static const struct apple_key_translation apple_iso_keyboard[] = {
};
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_LEFTALT, KEY_LEFTMETA },
+ { KEY_LEFTMETA, KEY_LEFTALT },
+ { KEY_RIGHTALT, KEY_RIGHTMETA },
+ { 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))
Fixed a spacing issue in a struct def and a funcion call. Signed-off-by: Brad Slayter <slayterkernel@gmail.com> --- drivers/hid/hid-apple.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)