From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751960AbbJ3MYp (ORCPT ); Fri, 30 Oct 2015 08:24:45 -0400 Received: from mail-wm0-f47.google.com ([74.125.82.47]:33651 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751625AbbJ3MYo (ORCPT ); Fri, 30 Oct 2015 08:24:44 -0400 Date: Fri, 30 Oct 2015 12:24:37 +0000 From: Lee Jones To: Alim Akhtar Cc: broonie@kernel.org, k.kozlowski@samsung.com, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] mfd: sec-core: Rename MFD and regulator names differently Message-ID: <20151030122437.GT4058@x1> References: <1446202913-20467-1-git-send-email-alim.akhtar@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1446202913-20467-1-git-send-email-alim.akhtar@samsung.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 30 Oct 2015, Alim Akhtar wrote: > Currently S2MPSXX multifunction device is named as *-pmic, > and this MFD also supports regulator as a one of its MFD cell which > has the same name, which is a bit confusing. > > We did discussed different approaches about how the MFD and it > cells need to be named here [1]. > Based in the discussion this patch rename MFD regulator name as > *-regulator instead of current *-pmic. > > [1]-> https://lkml.org/lkml/2015/10/28/417 > > Suggested-by: Lee Jones > Signed-off-by: Alim Akhtar > --- > drivers/mfd/sec-core.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) You need to squash these patches together, or you will hurt bisectability for your platform. But the code looks good: Acked-by: Lee Jones > diff --git a/drivers/mfd/sec-core.c b/drivers/mfd/sec-core.c > index 7c4e7be17f1e..c9802ba9be72 100644 > --- a/drivers/mfd/sec-core.c > +++ b/drivers/mfd/sec-core.c > @@ -68,7 +68,7 @@ static const struct mfd_cell s5m8767_devs[] = { > > static const struct mfd_cell s2mps11_devs[] = { > { > - .name = "s2mps11-pmic", > + .name = "s2mps11-regulator", > }, { > .name = "s2mps14-rtc", > }, { > @@ -78,7 +78,7 @@ static const struct mfd_cell s2mps11_devs[] = { > }; > > static const struct mfd_cell s2mps13_devs[] = { > - { .name = "s2mps13-pmic", }, > + { .name = "s2mps13-regulator", }, > { .name = "s2mps13-rtc", }, > { > .name = "s2mps13-clk", > @@ -88,7 +88,7 @@ static const struct mfd_cell s2mps13_devs[] = { > > static const struct mfd_cell s2mps14_devs[] = { > { > - .name = "s2mps14-pmic", > + .name = "s2mps14-regulator", > }, { > .name = "s2mps14-rtc", > }, { > @@ -116,7 +116,7 @@ static const struct mfd_cell s2mpa01_devs[] = { > > static const struct mfd_cell s2mpu02_devs[] = { > { > - .name = "s2mpu02-pmic", > + .name = "s2mpu02-regulator", > }, > }; > -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog