diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2013-02-04 13:01:44 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2013-02-09 00:31:16 +0100 |
commit | 748f11772154b58426c856b7d90538a9b60ae29a (patch) | |
tree | 0b3c6ccb94dc5834a4bad6e239d66ef9c99957a8 /arch/arm/mach-davinci | |
parent | davinci: cpuidle - remove the ops (diff) | |
download | linux-748f11772154b58426c856b7d90538a9b60ae29a.tar.xz linux-748f11772154b58426c856b7d90538a9b60ae29a.zip |
davinci: cpuidle - remove useless initialization
The device->state_count is initialized in the cpuidle_register_device
function.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch/arm/mach-davinci')
-rw-r--r-- | arch/arm/mach-davinci/cpuidle.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/cpuidle.c b/arch/arm/mach-davinci/cpuidle.c index 5e430bffb5d8..5ac9e9384b15 100644 --- a/arch/arm/mach-davinci/cpuidle.c +++ b/arch/arm/mach-davinci/cpuidle.c @@ -96,8 +96,6 @@ static int __init davinci_cpuidle_probe(struct platform_device *pdev) ddr2_pdown = pdata->ddr2_pdown; - device->state_count = DAVINCI_CPUIDLE_MAX_STATES; - ret = cpuidle_register_driver(&davinci_idle_driver); if (ret) { dev_err(&pdev->dev, "failed to register driver\n"); |