[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150225215154.GM13695@earth>
Date: Wed, 25 Feb 2015 22:51:55 +0100
From: Sebastian Reichel <sre@...nel.org>
To: Nicholas Mc Guire <hofrat@...dl.org>
Cc: Dmitry Eremin-Solenikov <dbaryshkov@...il.com>,
David Woodhouse <dwmw2@...radead.org>,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] ab8500_fg: use jiffies_to_msecs for jiffies
conversion
Hi,
On Mon, Feb 09, 2015 at 12:21:05PM -0500, Nicholas Mc Guire wrote:
> Converting jiffies to milliseconds by "val * 1000 / HZ" is technically
> OK but jiffies_to_msecs(val) is the cleaner solution and handles all
> corner cases correctly. This is a minor API consolidation only and
> should make things more readable.
>
> Signed-off-by: Nicholas Mc Guire <hofrat@...dl.org>
Thanks, applied to battery-2.6.git.
-- Sebastian
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists