cpufreq: OMAP: deny initialization if no mpudev
authorNishanth Menon <nm@ti.com>
Wed, 25 May 2011 23:38:47 +0000 (16:38 -0700)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 13 Jan 2012 15:09:45 +0000 (17:09 +0200)
commit150702ae04b1136d87b51c20f8d0b959c01c5eff
treeb766955107ac09cb26e8d97970df935d5550816f
parent5514fa682066f55fe8fe552e032f131f4a078c32
cpufreq: OMAP: deny initialization if no mpudev

if we do not have mpu_dev we normally fail in cpu_init. It is better
to fail driver registration if the devices are not available.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
drivers/cpufreq/omap-cpufreq.c