Re: [PATCH 1/1] mfd: Fix runtime warning caused by duplicate deviceregistration

From: Lee Jones
Date: Thu Jul 05 2012 - 08:55:49 EST


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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/