[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1428405156-6761-1-git-send-email-harald@ccbib.org>
Date: Tue, 7 Apr 2015 11:12:34 +0000
From: Harald Geyer <harald@...ib.org>
To: Jonathan Cameron <jic23@...nel.org>,
John Stultz <john.stultz@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>
Cc: Richard Weinberger <richard@....at>, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org, Harald Geyer <harald@...ib.org>
Subject: [PATCHv2 0/2] Provide new API to get the current time resolution
Hi,
this patch series introduces a new kernel internal API to get the
current time resolution. The first patch adds the implementation and
the second patch updates an example driver to show the possible code
simplification.
If patches 1 and 2 can't go in via the same tree, I'll resend patch 2
with more cleanup patches to dth11.c later -- the main goal for now is,
to get the new code for timekeeping reviewed and merged.
changes since V1:
* dropped patch for adding wrapper code to the iio framework
* improved commit messages
Harald Geyer (2):
timekeeping: Provide new API to get the current time resolution
iio: dht11: Use new function ktime_get_resolution_ns()
drivers/iio/humidity/dht11.c | 42 ++++++++++++++++++++++--------------------
include/linux/timekeeping.h | 1 +
kernel/time/timekeeping.c | 17 +++++++++++++++++
3 files changed, 40 insertions(+), 20 deletions(-)
--
1.7.2.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists