From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751986AbaBLLAK (ORCPT ); Wed, 12 Feb 2014 06:00:10 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:40981 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751609AbaBLLAI (ORCPT ); Wed, 12 Feb 2014 06:00:08 -0500 Date: Wed, 12 Feb 2014 12:00:05 +0100 From: Pavel Machek To: Jenny Tc Cc: linux-kernel@vger.kernel.org, Dmitry Eremin-Solenikov , Anton Vorontsov , Anton Vorontsov , Kim Milo , Lee Jones , Jingoo Han , Chanwoo Choi , Sachin Kamat , Lars-Peter Clausen , Pali =?iso-8859-1?Q?Roh=E1r?= , Rhyland Klein , "Rafael J. Wysocki" , David Woodhouse , Tony Lindgren , Russell King , Sebastian Reichel , aaro.koskinen@iki.fi, Pallala Ramakrishna , freemangordon@abv.bg, linux-omap@vger.kernel.org Subject: Re: [PATCH 2/4] power_supply: Introduce generic psy charging driver Message-ID: <20140212110005.GF25706@amd.pavel.ucw.cz> References: <1391490780-6141-1-git-send-email-jenny.tc@intel.com> <1391490780-6141-3-git-send-email-jenny.tc@intel.com> <20140204113630.GC2450@amd.pavel.ucw.cz> <20140205081458.GA19586@jenny-desktop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140205081458.GA19586@jenny-desktop> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 2014-02-05 13:44:58, Jenny Tc wrote: > On Tue, Feb 04, 2014 at 12:36:30PM +0100, Pavel Machek wrote: > > > +struct psy_charger_context { > > > + bool is_usb_cable_evt_reg; > > > + int psyc_cnt; > > > + int batt_status; > > > + /*cache battery and charger properties */ > > > > Comment coding style. Please run you patches through checkpatch. > > checkpatch doesn't throw any error/warning. /* ... */ not allowed for single line > comments? (will fix missing space after /*) I meant the space after /*. Maybe checkpatch does not report anything here, but I guess there are other places where it will comment :-). Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html