Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp212490ybg; Sun, 31 May 2020 22:28:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzC0DgB2E0bKo/6YdMY0cf0OiqlNEl70tvyLupX/wL0Pk/DeHXkoxBPmQQWaZXFkKC7qQKG X-Received: by 2002:a50:eb0c:: with SMTP id y12mr19502640edp.165.1590989337021; Sun, 31 May 2020 22:28:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590989337; cv=none; d=google.com; s=arc-20160816; b=CDukSyaoIvrvSHR7dw7iSfEr/+WzmOvPhgT+uvSdZG/ebG8FY6MbiJjqpGg7P+ZvV6 dfi9AV/iARcfe5cbkKKgbjQICc3t2unlEV5B0y9okdYeCO6RKQjjsMLOylEIzCX7R6UL O1sKnH0tv/C1ksLLa8AIhohOBdejSi3eQR3SyyV5GMDJ38zEYKRgJ0nGj0RAtAjcjmW+ 1+Ot73nnNW9tX48NWXYjIzSSn/eJYCLGp9atIw1rLGxs0n7MsJ5+QyNL3Uumo80WclxJ jw13qpPTdeokn2kctj/U+rJNlUpzOBBetKdMjy91ClVYQ1rco9iIu87Etruyy/1R/A+T XKyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=6ZL8Ph/G4JgUrG27yx5jOAVsjITYufkbj9OoG3EiYg8=; b=1CaUjzi7JSrXwAGfj4ujr6Ijl89t0MM5mH793PhtcS9JzOfH+JQLiJEvESz7VHoNHj khtywJobA+bQBX+XrD+Z7XW1HowbLT3DkpIgeGByZf1jVHCco2hV5/NKxH/77WVzORuC dlM1z2juQ1yc2vAGKTyb7MpPtY/7BsX6lm1izq2e3FshyYv09WUKET39jzRZeCRFYCek jfnRIMfD4WopuGBn6vSQNtEMGun58eQVpu1HRPmip9UKcZn3PN6myCiiSnE+Erl549JL IFD8yBvmuJiZMQb3rP6e6Flfu/rBA/aC+DQqMiPgpqRsAGS9YhYoUkEwfIWUf9zoT/vb sHLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dA2CB31s; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g17si9327513ejr.529.2020.05.31.22.28.34; Sun, 31 May 2020 22:28:57 -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=@linaro.org header.s=google header.b=dA2CB31s; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725935AbgFAFYk (ORCPT + 99 others); Mon, 1 Jun 2020 01:24:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725778AbgFAFYj (ORCPT ); Mon, 1 Jun 2020 01:24:39 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55D2CC061A0E for ; Sun, 31 May 2020 22:24:39 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id d128so10055491wmc.1 for ; Sun, 31 May 2020 22:24:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=6ZL8Ph/G4JgUrG27yx5jOAVsjITYufkbj9OoG3EiYg8=; b=dA2CB31sQ3Af0qUnmPd1S0YDJqELMRRu+gA7/hUSep7Gkrb1fo/neGae7TZlSgmco4 HuxnDn48VwRNdoJ4L4uznitZuO9+exNsJ1l42htH3amQN9vybXbGG124lC0jd1xEVUuf eilKDyn8QzkVREVQgOffBb5rn7EA+xEt5rVQBeRE9rrW+5ErUH4IkiUf7nZzE85UeLjx wMl+bwp5zYT7i2PB+V7kmz8U8UVkoyPrAC8EDZ51yPG8DcTDCH6OYvZKreMNQATXxb2s 6friPAu8HN+1J1eniSAR69g+bQgojly4qQfVzIHoiU9eaCNF2yAH49QNbpivLxONxzfR vQBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=6ZL8Ph/G4JgUrG27yx5jOAVsjITYufkbj9OoG3EiYg8=; b=rgLeOyFM8vEX0wLdzKncpJJ36YHWnYdwosjQCf8pb6FVFGJuKZXXmTpN0tM1mDvp0I pFhJESwlHh3NOtfYn4tB8wZQB8seE75k3wnI9LqRO/YGU0I1RUOTws7OITQAQm/+cBPg IB8pSUInaiATLcG0RJWeycBbFHqcMHu9TSiwO3TwW/WGv0XsjdWOtaPUv1pOK5MjHEEk sLAkUuffxnngh9ny816qU2PWiqIYkxiwMf3lEmTg4/nPVmR7YTFYjmU4iacZHeT9bo2B CWMc6M3Mf5uDMx5GoTMsUPUfrRHlj3zVo4lXUu+4XqNPZ1ErP6U/7qwj/lFK5V0mgJt8 X5Vg== X-Gm-Message-State: AOAM533epY9Eykf3TKmI2wBO0ED/ABabKfj43iNT/P5ZJdJM6ee7O0qh l6Tth6P4UzKi9r0AeZPQylBW/2oVcUY= X-Received: by 2002:a1c:2e41:: with SMTP id u62mr21047004wmu.91.1590989075882; Sun, 31 May 2020 22:24:35 -0700 (PDT) Received: from dell ([95.147.198.92]) by smtp.gmail.com with ESMTPSA id k12sm17543313wrn.42.2020.05.31.22.24.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 May 2020 22:24:35 -0700 (PDT) Date: Mon, 1 Jun 2020 06:24:33 +0100 From: Lee Jones To: Charles Keepax Cc: s.nawrocki@samsung.com, linux-kernel@vger.kernel.org, patches@opensource.cirrus.com Subject: Re: [PATCH 2/3] mfd: madera: Fix minor formatting issues Message-ID: <20200601052433.GA3714@dell> References: <20200529155742.18399-1-ckeepax@opensource.cirrus.com> <20200529155742.18399-2-ckeepax@opensource.cirrus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200529155742.18399-2-ckeepax@opensource.cirrus.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 29 May 2020, Charles Keepax wrote: Still needs a commit log. > Signed-off-by: Charles Keepax > --- > drivers/mfd/madera-core.c | 12 ++++++------ > drivers/mfd/madera-i2c.c | 1 - > include/linux/mfd/madera/pdata.h | 1 - > 3 files changed, 6 insertions(+), 8 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", }, What issue does this solve? Why are ','s a requirement, even for single entries? > }; > > 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); > diff --git a/include/linux/mfd/madera/pdata.h b/include/linux/mfd/madera/pdata.h > index fa9595dd42ba5..601cbbc10370c 100644 > --- a/include/linux/mfd/madera/pdata.h > +++ b/include/linux/mfd/madera/pdata.h > @@ -21,7 +21,6 @@ > > struct gpio_desc; > struct pinctrl_map; > -struct madera_codec_pdata; This is not a formatting issue. > /** > * struct madera_pdata - Configuration data for Madera devices -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog