From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754610Ab2GEMzz (ORCPT ); Thu, 5 Jul 2012 08:55:55 -0400 Received: from mail-ey0-f174.google.com ([209.85.215.174]:63979 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750910Ab2GEMzx (ORCPT ); Thu, 5 Jul 2012 08:55:53 -0400 Message-ID: <4FF58ED6.40106@linaro.org> Date: Thu, 05 Jul 2012 13:55:50 +0100 From: Lee Jones User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: Mark Brown CC: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linus.walleij@stericsson.com, arnd@arndb.de, sameo@linux.intel.com Subject: Re: [PATCH 1/1] mfd: Fix runtime warning caused by duplicate device registration References: <20120703132447.GN29030@opensource.wolfsonmicro.com> <4FF2F82D.9080507@linaro.org> <20120703142123.GQ29030@opensource.wolfsonmicro.com> <4FF54406.3000307@linaro.org> <20120705094541.GK4111@opensource.wolfsonmicro.com> <4FF57EA9.7060107@linaro.org> <20120705120600.GT4111@opensource.wolfsonmicro.com> <4FF58571.2090807@linaro.org> <20120705122947.GY4111@opensource.wolfsonmicro.com> <4FF58B68.5000703@linaro.org> <20120705124549.GD4111@opensource.wolfsonmicro.com> In-Reply-To: <20120705124549.GD4111@opensource.wolfsonmicro.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/07/12 13:45, Mark Brown wrote: > On Thu, Jul 05, 2012 at 01:41:12PM +0100, Lee Jones wrote: >> On 05/07/12 13:29, Mark Brown wrote: > >> If DT is _not_ enabled, we do: > >> From platform code: >> - Register the DB8500-PRCMU >> - Register the AB8500 > >> So you see the registration is separate. > > Right, so what I'm saying is that what I'd expect unless there's > something unusual going on is that you wouldn't be doing the separate > registration of the AB8500 here and would instead be passing the > platform data for the AB8500 through in the same way you pass the DT > data through. Then were would you register it, if not here? > DT and non-DT do have a very similar model for this stuff. -- Lee Jones Linaro ST-Ericsson Landing Team Lead M: +44 77 88 633 515 Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog