mfd: 88pm805: msleep(1ms ~ 20ms) may not do what the caller intends
authorLee Jones <lee.jones@linaro.org>
Thu, 8 May 2014 11:06:19 +0000 (12:06 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 9 Jul 2014 15:38:02 +0000 (16:38 +0100)
commitdc543929217c828fa52bcf48be0508eb5a552bec
tree84e71791c17da4eb053f5304caa1cd12fa26e6d7
parent01a0f4aaaefff9f57bb17e6cc514c84ba43a7335
mfd: 88pm805: msleep(1ms ~ 20ms) may not do what the caller intends

This code has been working since 2012, as limiting the time between
1ms and 3ms is unlikely to do any harm.

Soothes checkpatch warning:

  WARNING: msleep < 20ms can sleep for up to 20ms;
      see Documentation/timers/timers-howto.txt
  #161: FILE: drivers/mfd/88pm805.c:161:
  + msleep(1);

Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/88pm805.c