| commit | 2da513f582a96c053aacc2c92873978d2ea7abff | [log] [tgz] |
|---|---|---|
| author | Venkatesh Pallipadi <venki@google.com> | Thu Apr 22 16:48:33 2010 -0700 |
| committer | Len Brown <len.brown@intel.com> | Fri May 28 15:00:55 2010 -0400 |
| tree | 57e9d73800950668523cb0b9117d7dbc168e1580 | |
| parent | 34a18d6fe5430184e4ca96eeb074ee671d89fe7b [diff] |
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>