From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com ([134.134.136.24]:39246 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755753AbbAHBEd (ORCPT ); Wed, 7 Jan 2015 20:04:33 -0500 Date: Wed, 7 Jan 2015 17:04:14 -0800 From: Jacob Pan To: todd.e.brandt@linux.intel.com Cc: linux-pm@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, sameo@linux.intel.com, lee.jones@linaro.org, sre@kernel.org, dbaryshkov@gmail.com, dwmw2@infradead.org, david.woodhouse@intel.com, todd.e.brandt@intel.com Subject: Re: [PATCH 1/3] mfd/axp20x: change battery cell name to fuel gauge Message-ID: <20150107170414.27762fea@ultegra> In-Reply-To: <20150107212450.GB3440@linux.intel.com> References: <20150107212450.GB3440@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org On Wed, 7 Jan 2015 13:24:50 -0800 Todd E Brandt wrote: > mfd/axp20x: change battery cell name to fuel gauge > Acked-by: Jacob Pan > Name changes to the battery cell structure to a > more generic cell type: fuel gauge. > > Signed-off-by: Todd Brandt > ---- > drivers/mfd/axp20x.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c > index b1b580a..e75717e 100644 > --- a/drivers/mfd/axp20x.c > +++ b/drivers/mfd/axp20x.c > @@ -87,7 +87,7 @@ static struct resource axp20x_pek_resources[] = { > }, > }; > > -static struct resource axp288_battery_resources[] = { > +static struct resource axp288_fuel_gauge_resources[] = { > { > .start = AXP288_IRQ_QWBTU, > .end = AXP288_IRQ_QWBTU, > @@ -236,7 +236,7 @@ static const struct i2c_device_id axp20x_i2c_id[] > = { }; > MODULE_DEVICE_TABLE(i2c, axp20x_i2c_id); > > -static const struct acpi_device_id axp20x_acpi_match[] = { > +static struct acpi_device_id axp20x_acpi_match[] = { > { > .id = "INT33F4", > .driver_data = AXP288_ID, > @@ -350,9 +350,9 @@ static struct mfd_cell axp288_cells[] = { > .resources = axp288_charger_resources, > }, > { > - .name = "axp288_battery", > - .num_resources = > ARRAY_SIZE(axp288_battery_resources), > - .resources = axp288_battery_resources, > + .name = "axp288_fuel_gauge", > + .num_resources = > ARRAY_SIZE(axp288_fuel_gauge_resources), > + .resources = axp288_fuel_gauge_resources, > }, > { > .name = "axp288_pmic_acpi", [Jacob Pan]