diff options
author | Zenghui Yu <yuzenghui@huawei.com> | 2020-08-03 11:33:43 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-08 13:32:06 +0200 |
commit | e3aa745ff9f6326e495c3f9c6095120b7c417a21 (patch) | |
tree | e89dc59675b382a4f9c53eb311e1cb0062061627 /include | |
parent | 18efb2f9e897ac65e7a1b2892f4a53e404534eba (diff) |
driver core: Use the ktime_us_delta() helper
Use the ktime_us_delta() helper to measure the driver probe time. Given the
helpers already returns an s64 value, let's drop the unnecessary casting to
s64 as well. There is no functional change.
Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Link: https://lore.kernel.org/r/20200803033343.1178-1-yuzenghui@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions