MIPS: Whitespace cleanup.
Having received another series of whitespace patches I decided to do this once and for all rather than dealing with this kind of patches trickling in forever. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
此提交包含在:
@@ -52,7 +52,7 @@ static bool is_avt2;
|
||||
static struct nand_ecclayout qi_lb60_ecclayout_1gb = {
|
||||
.eccbytes = 36,
|
||||
.eccpos = {
|
||||
6, 7, 8, 9, 10, 11, 12, 13,
|
||||
6, 7, 8, 9, 10, 11, 12, 13,
|
||||
14, 15, 16, 17, 18, 19, 20, 21,
|
||||
22, 23, 24, 25, 26, 27, 28, 29,
|
||||
30, 31, 32, 33, 34, 35, 36, 37,
|
||||
@@ -210,7 +210,7 @@ static const uint32_t qi_lb60_keymap[] = {
|
||||
KEY(6, 7, KEY_RIGHT), /* S57 */
|
||||
|
||||
KEY(7, 0, KEY_LEFTSHIFT), /* S58 */
|
||||
KEY(7, 1, KEY_LEFTALT), /* S59 */
|
||||
KEY(7, 1, KEY_LEFTALT), /* S59 */
|
||||
KEY(7, 2, KEY_QI_FN), /* S60 */
|
||||
};
|
||||
|
||||
@@ -317,7 +317,7 @@ static struct spi_board_info qi_lb60_spi_board_info[] = {
|
||||
|
||||
/* Battery */
|
||||
static struct jz_battery_platform_data qi_lb60_battery_pdata = {
|
||||
.gpio_charge = JZ_GPIO_PORTC(27),
|
||||
.gpio_charge = JZ_GPIO_PORTC(27),
|
||||
.gpio_charge_active_low = 1,
|
||||
.info = {
|
||||
.name = "battery",
|
||||
@@ -344,7 +344,7 @@ static struct gpio_keys_platform_data qi_lb60_gpio_keys_data = {
|
||||
};
|
||||
|
||||
static struct platform_device qi_lb60_gpio_keys = {
|
||||
.name = "gpio-keys",
|
||||
.name = "gpio-keys",
|
||||
.id = -1,
|
||||
.dev = {
|
||||
.platform_data = &qi_lb60_gpio_keys_data,
|
||||
|
@@ -3,7 +3,7 @@
|
||||
* JZ4740 SoC clock support debugfs entries
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
|
@@ -3,7 +3,7 @@
|
||||
* JZ4740 SoC clock support
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
@@ -31,7 +31,7 @@
|
||||
#define JZ_REG_CLOCK_LOW_POWER 0x04
|
||||
#define JZ_REG_CLOCK_PLL 0x10
|
||||
#define JZ_REG_CLOCK_GATE 0x20
|
||||
#define JZ_REG_CLOCK_SLEEP_CTRL 0x24
|
||||
#define JZ_REG_CLOCK_SLEEP_CTRL 0x24
|
||||
#define JZ_REG_CLOCK_I2S 0x60
|
||||
#define JZ_REG_CLOCK_LCD 0x64
|
||||
#define JZ_REG_CLOCK_MMC 0x68
|
||||
|
@@ -3,7 +3,7 @@
|
||||
* JZ4740 SoC DMA support
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
|
@@ -3,7 +3,7 @@
|
||||
* JZ4740 platform GPIO support
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
|
@@ -3,7 +3,7 @@
|
||||
* JZ4740 platform IRQ support
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
|
@@ -2,7 +2,7 @@
|
||||
* Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
|
@@ -3,7 +3,7 @@
|
||||
* JZ4740 platform devices
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
@@ -102,7 +102,7 @@ struct platform_device jz4740_mmc_device = {
|
||||
.dma_mask = &jz4740_mmc_device.dev.coherent_dma_mask,
|
||||
.coherent_dma_mask = DMA_BIT_MASK(32),
|
||||
},
|
||||
.num_resources = ARRAY_SIZE(jz4740_mmc_resources),
|
||||
.num_resources = ARRAY_SIZE(jz4740_mmc_resources),
|
||||
.resource = jz4740_mmc_resources,
|
||||
};
|
||||
|
||||
@@ -114,7 +114,7 @@ static struct resource jz4740_rtc_resources[] = {
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
{
|
||||
.start = JZ4740_IRQ_RTC,
|
||||
.start = JZ4740_IRQ_RTC,
|
||||
.end = JZ4740_IRQ_RTC,
|
||||
.flags = IORESOURCE_IRQ,
|
||||
},
|
||||
@@ -144,7 +144,7 @@ static struct resource jz4740_i2c_resources[] = {
|
||||
struct platform_device jz4740_i2c_device = {
|
||||
.name = "jz4740-i2c",
|
||||
.id = 0,
|
||||
.num_resources = ARRAY_SIZE(jz4740_i2c_resources),
|
||||
.num_resources = ARRAY_SIZE(jz4740_i2c_resources),
|
||||
.resource = jz4740_i2c_resources,
|
||||
};
|
||||
|
||||
@@ -318,8 +318,8 @@ static struct resource jz4740_wdt_resources[] = {
|
||||
};
|
||||
|
||||
struct platform_device jz4740_wdt_device = {
|
||||
.name = "jz4740-wdt",
|
||||
.id = -1,
|
||||
.name = "jz4740-wdt",
|
||||
.id = -1,
|
||||
.num_resources = ARRAY_SIZE(jz4740_wdt_resources),
|
||||
.resource = jz4740_wdt_resources,
|
||||
};
|
||||
|
@@ -3,7 +3,7 @@
|
||||
* JZ4740 SoC power management support
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
|
@@ -3,7 +3,7 @@
|
||||
* JZ4740 SoC prom code
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
|
@@ -2,7 +2,7 @@
|
||||
* Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
|
@@ -4,7 +4,7 @@
|
||||
* JZ4740 setup code
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
|
@@ -3,7 +3,7 @@
|
||||
* JZ4740 platform time support
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
|
@@ -3,7 +3,7 @@
|
||||
* JZ4740 platform timer support
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
|
新增問題並參考
封鎖使用者