]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit69f5a41a66fe5688116e93867133ecec1b363ca2
tree25aebc86e87f5792cb2b97ae9c21e6630ee3dd84
parent7afeed84d1b9817f90fce245776a1f888fd43e65
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