diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-01-17 11:46:24 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-01-23 00:37:02 +0100 |
commit | 86e9466ae620824dee861f0f6ed933fcd0b449f3 (patch) | |
tree | 43b210a9685b68e5b9d13846f57ecd399a683d64 /drivers/base | |
parent | 1aefbd7aeb7695c1a9e6ece9a1612ee88e1ea3f8 (diff) | |
download | linux-86e9466ae620824dee861f0f6ed933fcd0b449f3.tar.bz2 |
intel_idle: Clean up irtl_2_usec()
Move the irtl_ns_units[] definition into irtl_2_usec() which is the
only user of it, use div_u64() for the division in there (as the
divisor is small enough) and use the NSEC_PER_USEC symbol for the
divisor. Also convert the irtl_2_usec() comment to a proper
kerneldo one.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions