linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sh/boards/mach-migor: ERROR: that open brace { should be on the previous line
@ 2023-07-21  0:40 zhangyongle001
  0 siblings, 0 replies; only message in thread
From: zhangyongle001 @ 2023-07-21  0:40 UTC (permalink / raw)
  To: ysato, dalias, glaubitz; +Cc: linux-sh, linux-kernel

Fix twoce following checkpatch error:
ERROR: that open brace { should be on the previous line

Signed-off-by: hangyongle <hangyongle001@208suo.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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-21  0:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-21  0:40 [PATCH] sh/boards/mach-migor: ERROR: that open brace { should be on the previous line zhangyongle001

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).