diff options
author | Alan Cox <alan@linux.intel.com> | 2012-02-24 07:47:29 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-24 16:59:35 -0500 |
commit | 6aeed479fdef85e6874c2d41cca9f121c294c536 (patch) | |
tree | 4a33eba504b1a748eb2e8cb7ebf16b7faf027084 /drivers/tty/vt | |
parent | 247ff8e610cb63c015de19191db9666754c2ed79 (diff) |
vt: tidy a few bits of checkpatch noise
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/vt')
-rw-r--r-- | drivers/tty/vt/keyboard.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/tty/vt/keyboard.c b/drivers/tty/vt/keyboard.c index bdf838dd3e44..0479114397c2 100644 --- a/drivers/tty/vt/keyboard.c +++ b/drivers/tty/vt/keyboard.c | |||
@@ -55,8 +55,8 @@ extern void ctrl_alt_del(void); | |||
55 | /* | 55 | /* |
56 | * Some laptops take the 789uiojklm,. keys as number pad when NumLock is on. | 56 | * Some laptops take the 789uiojklm,. keys as number pad when NumLock is on. |
57 | * This seems a good reason to start with NumLock off. On HIL keyboards | 57 | * This seems a good reason to start with NumLock off. On HIL keyboards |
58 | * of PARISC machines however there is no NumLock key and everyone expects the keypad | 58 | * of PARISC machines however there is no NumLock key and everyone expects the |
59 | * to be used for numbers. | 59 | * keypad to be used for numbers. |
60 | */ | 60 | */ |
61 | 61 | ||
62 | #if defined(CONFIG_PARISC) && (defined(CONFIG_KEYBOARD_HIL) || defined(CONFIG_KEYBOARD_HIL_OLD)) | 62 | #if defined(CONFIG_PARISC) && (defined(CONFIG_KEYBOARD_HIL) || defined(CONFIG_KEYBOARD_HIL_OLD)) |
@@ -1404,14 +1404,14 @@ static void kbd_start(struct input_handle *handle) | |||
1404 | 1404 | ||
1405 | static const struct input_device_id kbd_ids[] = { | 1405 | static const struct input_device_id kbd_ids[] = { |
1406 | { | 1406 | { |
1407 | .flags = INPUT_DEVICE_ID_MATCH_EVBIT, | 1407 | .flags = INPUT_DEVICE_ID_MATCH_EVBIT, |
1408 | .evbit = { BIT_MASK(EV_KEY) }, | 1408 | .evbit = { BIT_MASK(EV_KEY) }, |
1409 | }, | 1409 | }, |
1410 | 1410 | ||
1411 | { | 1411 | { |
1412 | .flags = INPUT_DEVICE_ID_MATCH_EVBIT, | 1412 | .flags = INPUT_DEVICE_ID_MATCH_EVBIT, |
1413 | .evbit = { BIT_MASK(EV_SND) }, | 1413 | .evbit = { BIT_MASK(EV_SND) }, |
1414 | }, | 1414 | }, |
1415 | 1415 | ||
1416 | { }, /* Terminating entry */ | 1416 | { }, /* Terminating entry */ |
1417 | }; | 1417 | }; |
@@ -1433,7 +1433,7 @@ int __init kbd_init(void) | |||
1433 | int i; | 1433 | int i; |
1434 | int error; | 1434 | int error; |
1435 | 1435 | ||
1436 | for (i = 0; i < MAX_NR_CONSOLES; i++) { | 1436 | for (i = 0; i < MAX_NR_CONSOLES; i++) { |
1437 | kbd_table[i].ledflagstate = KBD_DEFLEDS; | 1437 | kbd_table[i].ledflagstate = KBD_DEFLEDS; |
1438 | kbd_table[i].default_ledflagstate = KBD_DEFLEDS; | 1438 | kbd_table[i].default_ledflagstate = KBD_DEFLEDS; |
1439 | kbd_table[i].ledmode = LED_SHOW_FLAGS; | 1439 | kbd_table[i].ledmode = LED_SHOW_FLAGS; |