misc: bmp085: Handle jiffies overflow correctly
authorBernhard Walle <bernhard@bwalle.de>
Sun, 19 Feb 2012 17:28:01 +0000 (18:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Feb 2012 22:16:43 +0000 (14:16 -0800)
commit3734f7858f4334d51c1cd77deff3e1e66517e261
treea7cecf353c948546e792c636f3e761ed9c6ffb4a
parentef77d83fd7a2f37a20d9e37ac156f18e7e105c75
misc: bmp085: Handle jiffies overflow correctly

By using the time_is_before_jiffies() macro instead of normal
arithmetic, the jiffies overflow is handled correctly.

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/bmp085.c