]> git.baikalelectronics.ru Git - kernel.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)
commitd66b4f76a252387704eed1cfdd000fefa0411652
tree93c150501e425e72b8bdb815828a1d4325b75fa2
parent37431026622613813e41206454f5bc57729a87a7
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