[<prev] [next>] [day] [month] [year] [list]
Message-ID: <b3dc7e5a2e8913d21ce9cc80dbfcee53@208suo.com>
Date: Fri, 21 Jul 2023 08:40:46 +0800
From: zhangyongle001@...suo.com
To: ysato@...rs.sourceforge.jp, dalias@...c.org,
glaubitz@...sik.fu-berlin.de
Cc: linux-sh@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] 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 <hangyongle001@...suo.com>
---
arch/sh/boards/mach-migor/setup.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/arch/sh/boards/mach-migor/setup.c
b/arch/sh/boards/mach-migor/setup.c
index f60061283c48..a51a36b132dc 100644
--- a/arch/sh/boards/mach-migor/setup.c
+++ b/arch/sh/boards/mach-migor/setup.c
@@ -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"),
};
--
2.40.1
Powered by blists - more mailing lists