mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-23 14:24:42 +02:00
code style cleanup
This commit is contained in:
parent
d93945480e
commit
9fb25aa404
@ -124,11 +124,6 @@ static struct jz_nand_platform_data qi_lb60_nand_pdata = {
|
||||
};
|
||||
|
||||
/* Keyboard*/
|
||||
|
||||
/* #define KEEP_UART_ALIVE
|
||||
* don't define this. the keyboard and keyboard both work
|
||||
*/
|
||||
|
||||
#define KEY_QI_VOLUP KEY_F11
|
||||
#define KEY_QI_VOLDOWN KEY_F12
|
||||
#define KEY_QI_QI KEY_F13
|
||||
@ -193,12 +188,9 @@ static const uint32_t qi_lb60_keymap[] = {
|
||||
KEY(6, 5, KEY_QI_VOLDOWN), /* S55 */
|
||||
KEY(6, 6, KEY_DOWN), /* S56 */
|
||||
KEY(6, 7, KEY_RIGHT), /* S57 */
|
||||
|
||||
#ifndef KEEP_UART_ALIVE
|
||||
KEY(7, 0, KEY_LEFTSHIFT), /* S58 */
|
||||
KEY(7, 1, KEY_LEFTALT), /* S59 */
|
||||
KEY(7, 2, KEY_QI_FN), /* S60 */
|
||||
#endif
|
||||
};
|
||||
|
||||
static const struct matrix_keymap_data qi_lb60_keymap_data = {
|
||||
@ -211,10 +203,7 @@ static const unsigned int qi_lb60_keypad_cols[] = {
|
||||
};
|
||||
|
||||
static const unsigned int qi_lb60_keypad_rows[] = {
|
||||
114, 115, 116, 117, 118, 119, 120,
|
||||
#ifndef KEEP_UART_ALIVE
|
||||
122,
|
||||
#endif
|
||||
114, 115, 116, 117, 118, 119, 120, 122,
|
||||
};
|
||||
|
||||
static struct matrix_keypad_platform_data qi_lb60_pdata = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user