summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/sleep.h
diff options
context:
space:
mode:
authorVenkatesh Pallipadi <venki@google.com>2010-04-23 01:48:33 +0200
committerLen Brown <len.brown@intel.com>2010-05-28 21:00:55 +0200
commit2da513f582a96c053aacc2c92873978d2ea7abff (patch)
tree57e9d73800950668523cb0b9117d7dbc168e1580 /drivers/acpi/sleep.h
parentACPI: delete unused c-state promotion/demotion data strucutures (diff)
downloadlinux-2da513f582a96c053aacc2c92873978d2ea7abff.tar.xz
linux-2da513f582a96c053aacc2c92873978d2ea7abff.zip
ACPI: Minor cleanup eliminating redundant PMTIMER_TICKS to NS conversion
acpi_enter_[simple,bm] does idle timing in ns, convert it to timeval, then to us, then to pmtimer_ticks and then back to ns. This patch changes things to idle timing in ns, convert it to us, and then to pmtimer_ticks. Just saves an imul along this path, but makes the code cleaner. Signed-off-by: Venkatesh Pallipadi <venki@google.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions