projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36ce8d4
)
davinci: cpuidle - remove useless initialization
author
Daniel Lezcano
<daniel.lezcano@linaro.org>
Mon, 4 Feb 2013 12:01:44 +0000
(12:01 +0000)
committer
Len Brown
<len.brown@intel.com>
Fri, 8 Feb 2013 23:31:16 +0000
(18:31 -0500)
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>
arch/arm/mach-davinci/cpuidle.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-davinci/cpuidle.c
b/arch/arm/mach-davinci/cpuidle.c
index 5e430bffb5d8c1f27c159e2ae73e277d477047bc..5ac9e9384b1531c8e05e3adf7aec91f2171a9798 100644
(file)
--- 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");