]> git.karo-electronics.de Git - linux-beck.git/commit
ACPI / PAD: Use time_before() for time comparison
authorManuel Schölling <manuel.schoelling@gmx.de>
Thu, 22 May 2014 20:56:36 +0000 (22:56 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 26 May 2014 23:38:23 +0000 (01:38 +0200)
commit4ff248f3bf830ba22c988abb099e1836fbd3b1d0
tree93c150501e425e72b8bdb815828a1d4325b75fa2
parent5b59c69ec54849f23b51d18b0a609c4f793bc35a
ACPI / PAD: Use time_before() for time comparison

To be future-proof and for better readability the time comparisons are
modified to use time_before() instead of plain, error-prone math.

Signed-off-by: Manuel Schölling <manuel.schoelling@gmx.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_pad.c