Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754046AbbGWQDK (ORCPT ); Thu, 23 Jul 2015 12:03:10 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:45348 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753732AbbGWQCp (ORCPT ); Thu, 23 Jul 2015 12:02:45 -0400 Message-ID: <55B1100D.7080306@ti.com> Date: Thu, 23 Jul 2015 11:02:21 -0500 From: Dan Murphy User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: "Andrew F. Davis" , =?windows-1252?Q?Pali_Roh=E1r?= , Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse CC: , Subject: Re: [PATCH 3/8] power: bq27x00_battery: Fix function parameter alignment References: <1437601920-13045-1-git-send-email-afd@ti.com> <1437601920-13045-4-git-send-email-afd@ti.com> In-Reply-To: <1437601920-13045-4-git-send-email-afd@ti.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2865 Lines: 88 On 07/22/2015 04:51 PM, Andrew F. Davis wrote: > Fix the alignment of function parameters on new lines. > > Signed-off-by: Andrew F. Davis > --- > drivers/power/bq27x00_battery.c | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c > index 203cf61..9cdad19 100644 > --- a/drivers/power/bq27x00_battery.c > +++ b/drivers/power/bq27x00_battery.c > @@ -210,7 +210,7 @@ MODULE_PARM_DESC(poll_interval, "battery poll interval in seconds - " \ > */ > > static inline int bq27x00_read(struct bq27x00_device_info *di, u8 reg, > - bool single) > + bool single) > { > if (di->chip == BQ27425) > return di->bus.read(di, reg - BQ27425_REG_OFFSET, single); > @@ -565,7 +565,7 @@ static void bq27x00_battery_poll(struct work_struct *work) > * Or 0 if something fails. > */ > static int bq27x00_battery_current(struct bq27x00_device_info *di, > - union power_supply_propval *val) > + union power_supply_propval *val) > { > int curr; > int flags; > @@ -593,7 +593,7 @@ static int bq27x00_battery_current(struct bq27x00_device_info *di, > } > > static int bq27x00_battery_status(struct bq27x00_device_info *di, > - union power_supply_propval *val) > + union power_supply_propval *val) > { > int status; > > @@ -621,7 +621,7 @@ static int bq27x00_battery_status(struct bq27x00_device_info *di, > } > > static int bq27x00_battery_capacity_level(struct bq27x00_device_info *di, > - union power_supply_propval *val) > + union power_supply_propval *val) > { > int level; > > @@ -655,7 +655,7 @@ static int bq27x00_battery_capacity_level(struct bq27x00_device_info *di, > * Or < 0 if something fails. > */ > static int bq27x00_battery_voltage(struct bq27x00_device_info *di, > - union power_supply_propval *val) > + union power_supply_propval *val) > { > int volt; > > @@ -671,7 +671,7 @@ static int bq27x00_battery_voltage(struct bq27x00_device_info *di, > } > > static int bq27x00_simple_value(int value, > - union power_supply_propval *val) > + union power_supply_propval *val) > { > if (value < 0) > return value; > @@ -987,7 +987,7 @@ static inline void bq27x00_battery_i2c_exit(void) {}; > #ifdef CONFIG_BATTERY_BQ27X00_PLATFORM > > static int bq27000_read_platform(struct bq27x00_device_info *di, u8 reg, > - bool single) > + bool single) > { > struct device *dev = di->dev; > struct bq27000_platform_data *pdata = dev->platform_data; Acked-by: Dan Murphy -- ------------------ Dan Murphy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/