From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jenny Tc Subject: Re: [PATCH 2/4] power_supply: Introduce generic psy charging driver Date: Wed, 5 Feb 2014 13:44:58 +0530 Message-ID: <20140205081458.GA19586@jenny-desktop> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mga14.intel.com ([143.182.124.37]:44847 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751381AbaBEIPG (ORCPT ); Wed, 5 Feb 2014 03:15:06 -0500 Content-Disposition: inline In-Reply-To: <20140204113630.GC2450@amd.pavel.ucw.cz> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Pavel Machek 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 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 /*) -Jenny