diff options
author | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2013-12-20 22:47:29 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-01-11 04:26:49 +0400 |
commit | 4955a5412cad83da6e994d939bdb4f7887e4585e (patch) | |
tree | cdf8df2b5a1e68352b9b96ef089d7decf19617ef /drivers/acpi/processor_idle.c | |
parent | dbf87ab89fbd14b723b7282de635bc70f4996342 (diff) | |
download | linux-4955a5412cad83da6e994d939bdb4f7887e4585e.tar.xz |
intel_idle: remove superfluous dev->state_count initialization
intel_idle driver sets dev->state_count to drv->state_count so
the default dev->state_count initialization in cpuidle_enable_device()
(called from cpuidle_register_device()) can be used instead.
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Len Brown <lenb@kernel.org>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/processor_idle.c')
0 files changed, 0 insertions, 0 deletions