s390/cmf: use tod_to_ns()
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Tue, 12 Sep 2017 09:21:00 +0000 (11:21 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 28 Sep 2017 05:29:43 +0000 (07:29 +0200)
commit08c6df97d65a1cb24393d2051bf12ab05f8d7fb6
tree6deab9be48f8664b1a2a42bc40cf42d968b05ad5
parentcb09b356cd43fb079ea85128dcd17e5b65585fe8
s390/cmf: use tod_to_ns()

Instead of open coding tod clock to ns conversions use the timex helper.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/cmf.c