Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5931689ybp; Tue, 15 Oct 2019 07:11:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqyWPQS6HGSENtqgst5SXOZbiAL69dE+XOcF21TqUn2gKQJWlkrfUXcfHRxJZFNNHGCk8bRR X-Received: by 2002:a17:906:948d:: with SMTP id t13mr7728130ejx.112.1571148719700; Tue, 15 Oct 2019 07:11:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571148719; cv=none; d=google.com; s=arc-20160816; b=F3ZXEA1NtxBK5B8ER4xqtoKmt9LL6cq7H/C+p37r/r8fzRX7rteao6O0mQPpidxOHi wHFyqN2y5AY5CRDEJi3vQNeQEddj3f2W7fiCgsGQR8nJ9LPtF13ZyGMbHB66yjLY3lvx pPJRkrLT4W52IQtI1Rst3THnstuLdHWUofP5EM21RJjNZPQDj3qibeqMZtcEBEOaCCiL GwidkBHIRJ4lJJH0g1Nq1wpcrQ2Kj2uFOTdAnYY8mm5urnw+/scpu4Re2HFkAzF8/xX0 UMb3JXccxuT04T07g454P+wFz4JZzE/0ZMrtPZFXW66yN3dJToa/iCIa01xUV8oaJcQ2 csRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=Y0PE0z1qu7Uo9O8EUcZnicm2S09R6HZxZbsW4ye9vRs=; b=Ujv+HSw/rnYqZl/dQWUI7FSX7zHMfhCkcigw4UYv/SRiMSymwAkjc/z/AFqEjFZKdT NvWbsYyVKzc56PzaxZh4maFeieyhJTyqUEqv8ZBrBeY64xH2pjeJWHiUHcnuB74YoVVr q9mmNIZfZN1SprOO7T9MJBh4DVC7J3wqpHccYYyxniSj8wyyDUQUDVPe0SZGonOpF6vs egWExJk06aMJWy1pie2DQa25KVAWqDfDbGQJKFpNWIpLVDWZ9iqYHm9/UGu48VqRopvd 8lXvUruLLGZrzcLvq/PrOlAPyDHZS1EYOgoV0/pj9NwJVkBTPg+qdppsXgmCTG7naY2B xpJQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d48si14470061eda.383.2019.10.15.07.11.36; Tue, 15 Oct 2019 07:11:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732507AbfJOOLL (ORCPT + 99 others); Tue, 15 Oct 2019 10:11:11 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:45695 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732170AbfJOOLK (ORCPT ); Tue, 15 Oct 2019 10:11:10 -0400 Received: from kresse.hi.pengutronix.de ([2001:67c:670:100:1d::2a]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1iKNXX-0008Mj-FA; Tue, 15 Oct 2019 16:11:07 +0200 Message-ID: <178c5c3a962c05380b3d94b8acd5f454c9e2786a.camel@pengutronix.de> Subject: Re: [PATCH] soc: imx: gpc: fix initialiser format From: Lucas Stach To: Ben Dooks , linux-kernel@lists.codethink.co.uk Cc: Shawn Guo , Sascha Hauer , linux-kernel@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , linux-arm-kernel@lists.infradead.org Date: Tue, 15 Oct 2019 16:11:07 +0200 In-Reply-To: <20191015140909.778-1-ben.dooks@codethink.co.uk> References: <20191015140909.778-1-ben.dooks@codethink.co.uk> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::2a X-SA-Exim-Mail-From: l.stach@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Di, 2019-10-15 at 15:09 +0100, Ben Dooks wrote: > Make the initialiers in imx_gpc_domains C99 format to fix the > following sparse warnings: > > drivers/soc/imx/gpc.c:252:30: warning: obsolete array initializer, use C99 syntax > drivers/soc/imx/gpc.c:258:29: warning: obsolete array initializer, use C99 syntax > drivers/soc/imx/gpc.c:269:34: warning: obsolete array initializer, use C99 syntax > drivers/soc/imx/gpc.c:278:30: warning: obsolete array initializer, use C99 syntax > > Signed-off-by: Ben Dooks Reviewed-by: Lucas Stach > --- > Cc: Shawn Guo > Cc: Sascha Hauer > Cc: Pengutronix Kernel Team > Cc: Fabio Estevam > Cc: NXP Linux Team > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > --- > drivers/soc/imx/gpc.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/soc/imx/gpc.c b/drivers/soc/imx/gpc.c > index d9231bd3c691..98b9d9a902ae 100644 > --- a/drivers/soc/imx/gpc.c > +++ b/drivers/soc/imx/gpc.c > @@ -249,13 +249,13 @@ static struct genpd_power_state imx6_pm_domain_pu_state = { > }; > > static struct imx_pm_domain imx_gpc_domains[] = { > - [GPC_PGC_DOMAIN_ARM] { > + [GPC_PGC_DOMAIN_ARM] = { > .base = { > .name = "ARM", > .flags = GENPD_FLAG_ALWAYS_ON, > }, > }, > - [GPC_PGC_DOMAIN_PU] { > + [GPC_PGC_DOMAIN_PU] = { > .base = { > .name = "PU", > .power_off = imx6_pm_domain_power_off, > @@ -266,7 +266,7 @@ static struct imx_pm_domain imx_gpc_domains[] = { > .reg_offs = 0x260, > .cntr_pdn_bit = 0, > }, > - [GPC_PGC_DOMAIN_DISPLAY] { > + [GPC_PGC_DOMAIN_DISPLAY] = { > .base = { > .name = "DISPLAY", > .power_off = imx6_pm_domain_power_off, > @@ -275,7 +275,7 @@ static struct imx_pm_domain imx_gpc_domains[] = { > .reg_offs = 0x240, > .cntr_pdn_bit = 4, > }, > - [GPC_PGC_DOMAIN_PCI] { > + [GPC_PGC_DOMAIN_PCI] = { > .base = { > .name = "PCI", > .power_off = imx6_pm_domain_power_off,