RE: [PATCH 1/2] bq2415x_charger: Remove unnecessary else after return

2015-03-05 Thread Nicolae, Anda-maria
From: Joe Perches [j...@perches.com] Sent: Thursday, March 05, 2015 6:13 PM To: Nicolae, Anda-maria Cc: s...@kernel.org; dbarysh...@gmail.com; dw...@infradead.org; linux...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] bq2415x_charger: Remove

Re: [PATCH 1/2] bq2415x_charger: Remove unnecessary else after return

2015-03-05 Thread Joe Perches
On Thu, 2015-03-05 at 13:23 +0200, Anda-Maria Nicolae wrote: > Fix coding style to comply with checkpatch.pl I think these are unnecessary changes. The current version of checkpatch should not emit a warning for the original code. > diff --git a/drivers/power/bq2415x_charger.c

[PATCH 1/2] bq2415x_charger: Remove unnecessary else after return

2015-03-05 Thread Anda-Maria Nicolae
Fix coding style to comply with checkpatch.pl Signed-off-by: Anda-Maria Nicolae --- drivers/power/bq2415x_charger.c | 24 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/drivers/power/bq2415x_charger.c b/drivers/power/bq2415x_charger.c index

RE: [PATCH 1/2] bq2415x_charger: Remove unnecessary else after return

2015-03-05 Thread Nicolae, Anda-maria
From: Joe Perches [j...@perches.com] Sent: Thursday, March 05, 2015 6:13 PM To: Nicolae, Anda-maria Cc: s...@kernel.org; dbarysh...@gmail.com; dw...@infradead.org; linux...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] bq2415x_charger: Remove

Re: [PATCH 1/2] bq2415x_charger: Remove unnecessary else after return

2015-03-05 Thread Joe Perches
On Thu, 2015-03-05 at 13:23 +0200, Anda-Maria Nicolae wrote: Fix coding style to comply with checkpatch.pl I think these are unnecessary changes. The current version of checkpatch should not emit a warning for the original code. diff --git a/drivers/power/bq2415x_charger.c

[PATCH 1/2] bq2415x_charger: Remove unnecessary else after return

2015-03-05 Thread Anda-Maria Nicolae
Fix coding style to comply with checkpatch.pl Signed-off-by: Anda-Maria Nicolae anda-maria.nico...@intel.com --- drivers/power/bq2415x_charger.c | 24 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/drivers/power/bq2415x_charger.c