From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934123AbaHZIcW (ORCPT ); Tue, 26 Aug 2014 04:32:22 -0400 Received: from mail-ie0-f181.google.com ([209.85.223.181]:33182 "EHLO mail-ie0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932744AbaHZIcQ (ORCPT ); Tue, 26 Aug 2014 04:32:16 -0400 Date: Tue, 26 Aug 2014 09:32:06 +0100 From: Lee Jones To: Doug Anderson Cc: Chris Zhong , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Samuel Ortiz , Liam Girdwood , "broonie@kernel.org" , Alessandro Zummo , Mike Turquette , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , rtc-linux@googlegroups.com, Grant Likely , Lin Huang , Tao Huang , Eddie Cai , zhangqing , xxx , Heiko =?iso-8859-1?Q?St=FCbner?= , Olof Johansson , Sonny Rao , Dmitry Torokhov , Javier Martinez Canillas , Kever Yang Subject: Re: [PATCH v5 2/5] MFD: RK808: Add new mfd driver for RK808 Message-ID: <20140826083206.GD9574@lee--X1> References: <1408973516-21395-1-git-send-email-zyw@rock-chips.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 25 Aug 2014, Doug Anderson wrote: > On Mon, Aug 25, 2014 at 6:31 AM, Chris Zhong wrote: > > The RK808 chip is a power management IC for multimedia and handheld > > devices. It contains the following components: > > > > - Regulators > > - RTC > > > > The RK808 core driver is registered as a platform driver and provides > > communication through I2C with the host device for the different > > components. > > > > Signed-off-by: Chris Zhong > > You need a Signed-off-by: Zhang Qing > > > --- [...] > > +static struct rk808 *g_rk808; > > I think Lee's "Grim" comment here was that prefixing globals with "g_" > is not consistent with the Linux coding style. Just remove the "g_". That and the seemingly unavoidable use of a global pointer. [...] > > +static const struct i2c_device_id rk808_ids[] = { > > + { "rk808", 0 }, > > I think Lee wanted the above to be: > > { "rk808", }, Right, but the ',' is now superfluous. [...] > I didn't do a thorough review, just compared to Lee's old feedback. > Maybe a good idea to get in the habit to responding to others comments > with "Done" so others know you have addressed each comment? Please only do this locally or in your head. Reading replies to reviews containing only a break-down of what has been fixed is a waste of everyone's time. If/when replying to comments/observations that you do _not_ agree with, please snip out all of the ones that you _do_ agree with. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog