From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754042AbbJ0HWg (ORCPT ); Tue, 27 Oct 2015 03:22:36 -0400 Received: from 7of9.schinagl.nl ([88.159.158.68]:44429 "EHLO 7of9.schinagl.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752016AbbJ0HWe (ORCPT ); Tue, 27 Oct 2015 03:22:34 -0400 User-Agent: K-9 Mail for Android In-Reply-To: References: <1445895161-2317-1-git-send-email-o.schinagl@ultimaker.com> <1445895161-2317-2-git-send-email-o.schinagl@ultimaker.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: [PATCH 01/10] pwm: lpc18xx_pwm: use pwm_set_chip_data From: Olliver Schinagl Date: Tue, 27 Oct 2015 08:22:30 +0100 To: Ezequiel Garcia CC: Thierry Reding , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Joachim Eastwood , Maxime Ripard , Alexandre Belloni , Olliver Schinagl , linux-pwm@vger.kernel.org, "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , linux-arm-kernel , "Ariel D'Alessandro" Message-ID: <9D291167-A7CA-4954-AE33-A3ECC3A52FF2@ultimaker.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey Ezequiel, On October 26, 2015 10:58:18 PM CET, Ezequiel Garcia wrote: >(+ Ariel) > >Hi Oliver, > >Not sure why there's some many people in Cc for such a silly change. >I guess you are using get_maintainers.pl on the entire patchset and get >this rather long list. > I did indeed use the script and for v2 i'll split it up in several patches. The grouping that made sense to me was it was all pwm related. I'll do better next time. Sorry. >IMO, the value of submitting patches as part of a larger series is to >be able to >push patches that need to be applied in some given order, or otherwise >have some kind of logical relationship between them. > >However, this is not the case: it's just a very small change and has >no relation to the rest of the patches in the series. >I think a simple standalone patch would be better here. > >Also, get_maintainer.pl is just a hint, and not meant to be used as-is. >In particular, you are missing the driver's author. > >On 26 October 2015 at 18:32, Olliver Schinagl > wrote: >> From: Olliver Schinagl >> >> The lpc18xx driver currently manipulates the pwm_device struct >directly >> rather then using the pwm_set_chip_data. While the current method may >> save a clock cycle or two, it is more obvious that data is set to the >> chip pointer (especially since it is only a single int holding >struct. >> >> Signed-off-by: Olliver Schinagl >> --- >> drivers/pwm/pwm-lpc18xx-sct.c | 11 +++++++---- >> drivers/pwm/pwm-sun4i.c | 11 +++++++++++ >> 2 files changed, 18 insertions(+), 4 deletions(-) >> > >...and this diffstat is obviously fishy. It does.indeed, somehow i.must have accidentally merged two patches, stupid me. This.will also be addressed in the v2. Olliver -- Sent from my Android device with K-9 Mail. Please excuse my brevity.