sh/boards/mach-migor: ERROR: that open brace { should be on the previous line
PATCH 1/1 sh/boards/mach-migor: ERROR: that open brace { should be on the previous line
Fix twoce following checkpatch error:
ERROR: that open brace { should be on the previous line
Signed-off-by hangyongle <[email protected]>
--- arch/sh/boards/mach-migor/setup.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
arch/sh/boards/mach-migor/setup.c +2 -4
@@ -109,8 +109,7 @@ static struct platform_device sh_keysc_device = { }, }; -static struct mtd_partition migor_nor_flash_partitions[] = -{ +static struct mtd_partition migor_nor_flash_partitions[] = { { .name ="uboot" , .offset =0 ,
@@ -364,8 +363,7 @@ static struct gpiod_lookup_table tw9910_gpios = { };/* Fixed 3.3V regulator to be used by SDHI0 */ -static struct regulator_consumer_supply fixed3v3_power_consumers[] = -{ +static struct regulator_consumer_supply fixed3v3_power_consumers[] = {REGULATOR_SUPPLY ("vmmc" ,"sh_mobile_sdhi.0" ),REGULATOR_SUPPLY ("vqmmc" ,"sh_mobile_sdhi.0" ), };
Signature · 1 line
2.40.1