From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754345AbaCRJ1l (ORCPT ); Tue, 18 Mar 2014 05:27:41 -0400 Received: from mail-wg0-f42.google.com ([74.125.82.42]:43683 "EHLO mail-wg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751157AbaCRJ1k (ORCPT ); Tue, 18 Mar 2014 05:27:40 -0400 Date: Tue, 18 Mar 2014 09:27:35 +0000 From: Lee Jones To: Alexander Shiyan , cooloney@gmail.com Cc: linux-kernel@vger.kernel.org, Samuel Ortiz Subject: Re: [PATCH] mfd: mc13xxx: Move definitions out of structures Message-ID: <20140318092735.GK25478@lee--X1> References: <1394867287-14074-1-git-send-email-shc_work@mail.ru> <20140318090237.GG25478@lee--X1> <1395134091.369687348@f500.i.mail.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1395134091.369687348@f500.i.mail.ru> 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 > > > Signed-off-by: Alexander Shiyan > > > --- > > > include/linux/mfd/mc13xxx.h | 22 ++++++++++++---------- > > > 1 file changed, 12 insertions(+), 10 deletions(-) > > > > > > diff --git a/include/linux/mfd/mc13xxx.h b/include/linux/mfd/mc13xxx.h > > > index a326c85..d63b1d3 100644 > > > --- a/include/linux/mfd/mc13xxx.h > > > +++ b/include/linux/mfd/mc13xxx.h > > > @@ -117,10 +117,6 @@ struct mc13xxx_led_platform_data { > > > > > > #define MAX_LED_CONTROL_REGS 6 > > > > > > -struct mc13xxx_leds_platform_data { > > > - struct mc13xxx_led_platform_data *led; > > > - int num_leds; > > > - > > > /* MC13783 LED Control 0 */ > > > #define MC13783_LED_C0_ENABLE (1 << 0) > > > #define MC13783_LED_C0_TRIODE_MD (1 << 7) > > > @@ -169,10 +165,13 @@ struct mc13xxx_leds_platform_data { > > > /* MC34708 LED Control 0 */ > > > > I don't see the line above in the MFD tree? > > > > Which commit/branch/repo is this patch based on? > > Dependency: > linux-next, a59ce6584d (leds: leds-mc13783: Add MC34708 LED support) > > https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/include/linux/mfd/mc13xxx.h?id=a59ce6584d566847980f9dcad5343cd9856145c8 Ah, you can't do that, as it will cause conflicts and Linus will likely get upset. Bryan you naughty boy! Why are you applying patches to files in MFD? -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog