ARM: ux500: cpuidle: Instantiate the driver from platform device
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 10 Jul 2013 13:35:26 +0000 (15:35 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Sat, 27 Jul 2013 05:56:38 +0000 (07:56 +0200)
commit8025395f39c97e332362c24f7c33c86acdd4cd90
tree4e39d88e50db21fd6b0378556022cafba7785b40
parent7006b8a1facc5dcafb2afa27a1209d924f99a2eb
ARM: ux500: cpuidle: Instantiate the driver from platform device

To break the dependency on the "id.h" file we move the cpuidle driver
to a platform device. Now we only call the probe() on this driver if
we find a corresponding platform device (which is spawned from the
PRCMU MFD driver).

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
arch/arm/mach-ux500/cpuidle.c
drivers/mfd/db8500-prcmu.c