Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754159AbbGWQBx (ORCPT ); Thu, 23 Jul 2015 12:01:53 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:33987 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753835AbbGWQBn (ORCPT ); Thu, 23 Jul 2015 12:01:43 -0400 Date: Thu, 23 Jul 2015 18:01:33 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: "Andrew F. Davis" Cc: Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , Dan Murphy , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/8] power: bq27x00_battery: Checkpatch fixes Message-ID: <20150723160133.GE29125@pali> References: <1437601920-13045-1-git-send-email-afd@ti.com> <1437601920-13045-5-git-send-email-afd@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1437601920-13045-5-git-send-email-afd@ti.com> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 847 Lines: 26 On Wednesday 22 July 2015 16:51:56 Andrew F. Davis wrote: > Remove space before tab. > Remove unnecessary line continuations. > Add braces to else statement. > Remove unnecessary parentheses. > Remove unneeded blank lines. > Remove unnecessary 'out of memory' message. > Add missing line after declarations. > Change use of printk to pr_err. > > Signed-off-by: Andrew F. Davis > --- > drivers/power/bq27x00_battery.c | 24 +++++++++++------------- > 1 file changed, 11 insertions(+), 13 deletions(-) > Acked-by: Pali Rohár -- Pali Rohár pali.rohar@gmail.com -- 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/