From patchwork Fri Jul 21 00:40:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: zhangyongle001@208suo.com X-Patchwork-Id: 13321201 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BADFAEB64DD for ; Fri, 21 Jul 2023 00:41:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229677AbjGUAlL (ORCPT ); Thu, 20 Jul 2023 20:41:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbjGUAlK (ORCPT ); Thu, 20 Jul 2023 20:41:10 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82A3F2D54 for ; Thu, 20 Jul 2023 17:40:49 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R6W1q1hHwzBRDsm for ; Fri, 21 Jul 2023 08:40:47 +0800 (CST) Authentication-Results: mail.208.org (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=208.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=208.org; h= content-transfer-encoding:content-type:message-id:user-agent :subject:to:from:date:mime-version; s=dkim; t=1689900047; x= 1692492048; bh=gxoAKulf5uW+xa9wxplQQyRtHiJaHRDy/eDDf/C/0MA=; b=y Uv1DlypEEsxTD8gsmRJhWi++JCZtdgzGv+WFF38eR4/C7iDtfbOI0THfFwSAo0Xp AxL1uHPxLSxhRfR/61JAa24dPgklZY7y8nF8gwMyhygKo5+StLL6gyL00KpJsugf bSSnAcsCNPsMQB/auoKEv7DspID7p7WEMbrIhebwzONqPR90Q/x3DawvIeQQS3no Ayt0oXCyV+DlXM/6rZtJKwnRM7odtjLpE+dk/uU3qDMkBxMLTs+zfMbriTC8aGnC JdQIf6Lpg9fXMgwtYBd7HjFIUvjKEX34qtHjd7p4hRN6jppxptV4NFMbiWtJUq0h Lzaem2RByn5KQLLhhFR6w== X-Virus-Scanned: amavisd-new at mail.208.org Received: from mail.208.org ([127.0.0.1]) by mail.208.org (mail.208.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Jhyqo43S4cJS for ; Fri, 21 Jul 2023 08:40:47 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R6W1p67qzzBJqBP; Fri, 21 Jul 2023 08:40:46 +0800 (CST) MIME-Version: 1.0 Date: Fri, 21 Jul 2023 08:40:46 +0800 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 User-Agent: Roundcube Webmail Message-ID: X-Sender: zhangyongle001@208suo.com Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org Fix twoce following checkpatch error: ERROR: that open brace { should be on the previous line Signed-off-by: hangyongle --- 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"), };