cpufreq: OMAP: deny initialization if no mpudev
authorNishanth Menon <nm@ti.com>
Wed, 7 Dec 2011 20:08:45 +0000 (12:08 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 7 Dec 2011 20:08:45 +0000 (12:08 -0800)
commit7caf627bb416f618d723035fc187831abc09b275
treebb5ac34fce0d37e90b446b40bf30fea02f263bb2
parent8f90f71283085c75b02c1ffdc72f7316aef01763
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