All of lore.kernel.org
 help / color / mirror / Atom feed
From: zhangyongle001@208suo.com
To: ysato@users.sourceforge.jp, dalias@libc.org,
	glaubitz@physik.fu-berlin.de
Cc: linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] sh/boards/mach-migor: ERROR: that open brace { should be on the previous line
Date: Fri, 21 Jul 2023 08:40:46 +0800	[thread overview]
Message-ID: <b3dc7e5a2e8913d21ce9cc80dbfcee53@208suo.com> (raw)

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


                 reply	other threads:[~2023-07-21  0:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b3dc7e5a2e8913d21ce9cc80dbfcee53@208suo.com \
    --to=zhangyongle001@208suo.com \
    --cc=dalias@libc.org \
    --cc=glaubitz@physik.fu-berlin.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=ysato@users.sourceforge.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.