Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1684224ybt; Mon, 15 Jun 2020 06:55:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaPIbqIqFpSCHAuaQFWqRw8grTGscO+eZcdg/MH0IIXbz6Oofdpi0HdUdBxfgpLTaeKgEB X-Received: by 2002:a50:a68f:: with SMTP id e15mr24419253edc.285.1592229351938; Mon, 15 Jun 2020 06:55:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592229351; cv=none; d=google.com; s=arc-20160816; b=Q05ZUosTBcNvbT/+Lfjs2ClHSNHXB0bi4nbFzA2pPYazV+2grXR1AmhMptuDVugn6H DCWXrfAxMO/RlpRxgaosCm4EsGWmk8Pbv9gHv0+kicthAJwH3h5CpV12LNU5YO/kNA3X acdRFOiUp6fG/dS30ReU17GrLyBzMZf4C8GbYLzswphI5EErAylELkI5kng9FxIpAUh2 766WWVrpN88nXLX4AQIewVOuEZEKE1vLjTUxhLG5Trm12fHdg5+pCybjT/3zlGGqGs+y HBAr8rlYzq8kkSaEqTsuHJSNF55Et4tpaV1q+KPM/Ejzqw0R1dsaAIiPCaNTn5X098Gq gLMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=6nACEHjqsNWHW6rlsthN/EG7Kp+UAJoZN1uNzfKQ9a8=; b=ZhzliGwiE3syDgqvbXm7AiZSVo/8DOsv97nEDgwWbyWYw8r5ObEqHsfHU0Lxe3PiXx V/QI7J/LxLZkPXOPN5U2ESiHCQRmXCguZ22OYjV7PqcngjayZeINobjwCz31ibNnPUuX ncIBcqgIgYNSikU97weJVxEvs0rT4ynXAfH74hQswebfcHTJSqVw2pHusgoKzJgyjvhk z9GQ306be00571RujzKM1iZbx+QF4hmw9z7u8ES71gkS2hgY95QfI0lpSfkWiznI/ciX xRS6F308IwH7QAb+CViS8LUV3n5cgu7qcg0ifjqDDj8OjjscMBLeJKjzfr2JClrxswjH lahw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b="J2/gCFtr"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l2si8992139ejd.191.2020.06.15.06.55.28; Mon, 15 Jun 2020 06:55:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b="J2/gCFtr"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730194AbgFONxk (ORCPT + 99 others); Mon, 15 Jun 2020 09:53:40 -0400 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:44312 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729965AbgFONxd (ORCPT ); Mon, 15 Jun 2020 09:53:33 -0400 Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 05FDi3s4007530; Mon, 15 Jun 2020 08:53:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=PODMain02222019; bh=6nACEHjqsNWHW6rlsthN/EG7Kp+UAJoZN1uNzfKQ9a8=; b=J2/gCFtr+6mWy2Sildy8nbRhP8bvKpahmu5dnOaTQ1PModHrOx7jaIpStH+i5fBRXK0l tN6gYjtUGf5c9xKQEkS4QHS7sqKUi1mS3hqMYAR2pe0AKfGji88qocSOF9Cm2BF5JjB5 etNGoGlY91fNnCeIY5JlUprLvlCF8VOSGSReZGkK5OFTQzEfywkmhtM9lr4MhTnbi380 BAopK8dtkYtVCkACztmVxN0UZRMIPG1vXxIu0WM1inf/ORyOBzsLFd0RXwMfVJK71/um ePQHDX/Suv7qjrMRucRNTBF/vj512Lj++N41e4jHZ6yISZ7VfmC5h5mwjDcUdlaClkPU cg== Authentication-Results: ppops.net; spf=fail smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from ediex02.ad.cirrus.com ([87.246.76.36]) by mx0a-001ae601.pphosted.com with ESMTP id 31mv73jqtn-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Mon, 15 Jun 2020 08:53:28 -0500 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Mon, 15 Jun 2020 14:53:24 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.1913.5 via Frontend Transport; Mon, 15 Jun 2020 14:53:24 +0100 Received: from algalon.ad.cirrus.com (algalon.ad.cirrus.com [198.90.251.122]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 3237B45A; Mon, 15 Jun 2020 13:53:24 +0000 (UTC) From: Charles Keepax To: CC: , , Subject: [PATCH v2 4/4] mfd: madera: Fix minor formatting issues Date: Mon, 15 Jun 2020 14:53:23 +0100 Message-ID: <20200615135323.15215-4-ckeepax@opensource.cirrus.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200615135323.15215-1-ckeepax@opensource.cirrus.com> References: <20200615135323.15215-1-ckeepax@opensource.cirrus.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-SPF-Result: fail X-Proofpoint-SPF-Record: v=spf1 include:spf-001ae601.pphosted.com include:spf.protection.outlook.com ip4:5.172.152.52 -all X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 mlxscore=0 phishscore=0 clxscore=1015 spamscore=0 impostorscore=0 mlxlogscore=999 malwarescore=0 bulkscore=0 adultscore=0 lowpriorityscore=0 suspectscore=1 cotscore=-2147483648 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006150111 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The mfd_cell structures inconsistently use commas on single entries in the table, make this consistent by always using a comma. Also remove an extra blank line. Signed-off-by: Charles Keepax --- Changes since v1: - Added some additional commit description. - Move the removing and unused forward declaration into a new patch. Thanks, Charles drivers/mfd/madera-core.c | 12 ++++++------ drivers/mfd/madera-i2c.c | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/mfd/madera-core.c b/drivers/mfd/madera-core.c index 7e0835cb062b1..4724c1a01a39f 100644 --- a/drivers/mfd/madera-core.c +++ b/drivers/mfd/madera-core.c @@ -44,7 +44,7 @@ static const char * const madera_core_supplies[] = { }; static const struct mfd_cell madera_ldo1_devs[] = { - { .name = "madera-ldo1" }, + { .name = "madera-ldo1", }, }; static const char * const cs47l15_supplies[] = { @@ -55,8 +55,8 @@ static const char * const cs47l15_supplies[] = { static const struct mfd_cell cs47l15_devs[] = { { .name = "madera-pinctrl", }, - { .name = "madera-irq" }, - { .name = "madera-gpio" }, + { .name = "madera-irq", }, + { .name = "madera-gpio", }, { .name = "madera-extcon", .parent_supplies = cs47l15_supplies, @@ -108,7 +108,7 @@ static const char * const cs47l85_supplies[] = { static const struct mfd_cell cs47l85_devs[] = { { .name = "madera-pinctrl", }, { .name = "madera-irq", }, - { .name = "madera-micsupp" }, + { .name = "madera-micsupp", }, { .name = "madera-gpio", }, { .name = "madera-extcon", @@ -155,10 +155,10 @@ static const char * const cs47l92_supplies[] = { }; static const struct mfd_cell cs47l92_devs[] = { - { .name = "madera-pinctrl" }, + { .name = "madera-pinctrl", }, { .name = "madera-irq", }, { .name = "madera-micsupp", }, - { .name = "madera-gpio" }, + { .name = "madera-gpio", }, { .name = "madera-extcon", .parent_supplies = cs47l92_supplies, diff --git a/drivers/mfd/madera-i2c.c b/drivers/mfd/madera-i2c.c index 6b965eb034b6c..7df5b9ba58554 100644 --- a/drivers/mfd/madera-i2c.c +++ b/drivers/mfd/madera-i2c.c @@ -88,7 +88,6 @@ static int madera_i2c_probe(struct i2c_client *i2c, if (!madera) return -ENOMEM; - madera->regmap = devm_regmap_init_i2c(i2c, regmap_16bit_config); if (IS_ERR(madera->regmap)) { ret = PTR_ERR(madera->regmap); -- 2.11.0