From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from saturn.retrosnub.co.uk ([178.18.118.26]:49271 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752101AbaIMUBz (ORCPT ); Sat, 13 Sep 2014 16:01:55 -0400 Message-ID: <5414A2AF.6000005@kernel.org> Date: Sat, 13 Sep 2014 21:01:51 +0100 From: Jonathan Cameron MIME-Version: 1.0 To: Jacob Pan , IIO , LKML , DEVICE TREE , Lee Jones CC: Carlo Caione , Srinivas Pandruvada , Aaron Lu , Alan Cox , Samuel Ortiz , Liam Girdwood , Mark Brown , Grant Likely , Greg Kroah-Hartman , Rob Herring , Lars-Peter Clausen , Hartmut Knaack , Fugang Duan , Arnd Bergmann , Zubair Lutfullah , Sebastian Reichel , Johannes Thumshirn , Philippe Reynes , Angelo Compagnucci , Doug Anderson , Ramakrishna Pallala , Peter Meerwald , Maxime Ripard Subject: Re: [PATCH v3 3/5] regulator/axp20x: use axp2xx consolidated header References: <1410477357-6407-1-git-send-email-jacob.jun.pan@linux.intel.com> <1410477357-6407-4-git-send-email-jacob.jun.pan@linux.intel.com> In-Reply-To: <1410477357-6407-4-git-send-email-jacob.jun.pan@linux.intel.com> Content-Type: text/plain; charset=windows-1252 Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org On 12/09/14 00:15, Jacob Pan wrote: > AXP20x driver has been extended to support axp288 variant. Header file > and common data structures has also been renamed to suit the new > scope of devices supported. > > This patch makes use of the renamed header and structure. > > Acked-by: Mark Brown > Signed-off-by: Jacob Pan > --- > drivers/regulator/axp20x-regulator.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/regulator/axp20x-regulator.c b/drivers/regulator/axp20x-regulator.c > index 004aadb..c9b6803 100644 > --- a/drivers/regulator/axp20x-regulator.c > +++ b/drivers/regulator/axp20x-regulator.c > @@ -20,7 +20,7 @@ > #include > #include > #include > -#include > +#include Err, doesn't this break bisection. Rename 'must' be done in one go, not split across patches. > #include > #include > > @@ -161,7 +161,7 @@ static struct of_regulator_match axp20x_matches[] = { > > static int axp20x_set_dcdc_freq(struct platform_device *pdev, u32 dcdcfreq) > { > - struct axp20x_dev *axp20x = dev_get_drvdata(pdev->dev.parent); > + struct axp2xx_dev *axp20x = dev_get_drvdata(pdev->dev.parent); > > if (dcdcfreq < 750) { > dcdcfreq = 750; > @@ -232,7 +232,7 @@ static int axp20x_set_dcdc_workmode(struct regulator_dev *rdev, int id, u32 work > static int axp20x_regulator_probe(struct platform_device *pdev) > { > struct regulator_dev *rdev; > - struct axp20x_dev *axp20x = dev_get_drvdata(pdev->dev.parent); > + struct axp2xx_dev *axp20x = dev_get_drvdata(pdev->dev.parent); > struct regulator_config config = { }; > struct regulator_init_data *init_data; > int ret, i; >