]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: cros_ec_spi: Use ktime_get_ns()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 16 Jul 2014 21:04:41 +0000 (21:04 +0000)
committerJohn Stultz <john.stultz@linaro.org>
Wed, 23 Jul 2014 22:01:38 +0000 (15:01 -0700)
commit7c700ed064dc1982963d74a7c2cca3f47df6d5f1
treecb2adb99819dee88056513943d7df9cadfbe9b91
parent44bdf4ac9471e3e69f963a6295ed114a802c4427
mfd: cros_ec_spi: Use ktime_get_ns()

Replace the ever recurring:
ts = ktime_get_ts();
ns = timespec_to_ns(&ts);
with
ns = ktime_get_ns();

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
drivers/mfd/cros_ec_spi.c