connector: Use ktime_get_ns()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 16 Jul 2014 21:04:40 +0000 (21:04 +0000)
committerJohn Stultz <john.stultz@linaro.org>
Wed, 23 Jul 2014 17:18:07 +0000 (10:18 -0700)
commit9e93f21b4309572c646bd8141a4853be5c031523
treec90ff5bf99d92a78308fd4b3ac7b54acaaccedcc
parentf2dec1eae8029bb056a3c1b2d3373681fa8e3e7a
connector: 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>
Cc: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: John Stultz <john.stultz@linaro.org>
drivers/connector/cn_proc.c