summaryrefslogtreecommitdiff
path: root/drivers/acpi/processor_idle.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2013-12-20 22:47:29 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-01-11 04:26:49 +0400
commit4955a5412cad83da6e994d939bdb4f7887e4585e (patch)
treecdf8df2b5a1e68352b9b96ef089d7decf19617ef /drivers/acpi/processor_idle.c
parentdbf87ab89fbd14b723b7282de635bc70f4996342 (diff)
downloadlinux-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