ARM: ux500: register DB5500 PMU dynamically
authorRabin Vincent <rabin.vincent@stericsson.com>
Thu, 15 Dec 2011 10:49:43 +0000 (11:49 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 18 Dec 2011 23:35:06 +0000 (00:35 +0100)
commitebe6c6fe60683e951ff52803c6d126480a970df5
tree25aebc86e87f5792cb2b97ae9c21e6630ee3dd84
parentd5608bbf81987375ced3802374b145e148140b33
ARM: ux500: register DB5500 PMU dynamically

Use platform_device_register_simple() rather than a static
struct, so we create and register the PMU device on-the-fly.

Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/cpu-db5500.c