]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm90) Drop redundant safety on cache lifetime
authorJean Delvare <khali@linux-fr.org>
Mon, 8 Jul 2013 12:18:24 +0000 (14:18 +0200)
committerJean Delvare <khali@endymion.delvare>
Mon, 8 Jul 2013 12:18:24 +0000 (14:18 +0200)
commit3e1bad2c0d6e20dd0b3a4212e02ef175a1726d30
treefbd27c61aa1302224bbf3801124fc282676fe878
parent169e6af4049c5c0db29cca298780ed7449611616
hwmon: (lm90) Drop redundant safety on cache lifetime

time_after (as opposed to time_after_equal) already ensures that the
cache lifetime is at least as much as requested. There is no point in
manually adding another jiffy to that value, and this can confuse the
reader into wrong interpretation.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Imre Deak <imre.deak@intel.com>
drivers/hwmon/lm90.c