ARM: tegra2: cpuidle: change driver initialization
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 3 Apr 2013 12:15:17 +0000 (12:15 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 8 Apr 2013 20:20:06 +0000 (22:20 +0200)
commit14ad7a119b85b0ba77868882194ab5b16203b2c9
tree5e3f2a78ae58106c55926e85a1edf1e6d98776b8
parent688036b538974de32ce55be8b0e013b003992abc
ARM: tegra2: cpuidle: change driver initialization

Initialize the idle states directly in the driver structure.

That prevents extra structure declaration and memcpy at init time.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/arm/mach-tegra/cpuidle-tegra20.c