eeprom: at24: replace msleep() with usleep_range()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 11 Apr 2016 18:57:21 +0000 (11:57 -0700)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 16 Apr 2016 20:57:22 +0000 (22:57 +0200)
commit1d98d0ec0ef3594901c2356773c191304703f17e
tree033c889b02a3767f72d9531bcd021d0665a6207e
parent5057e8e07f2521649eb444492433f419f93de37a
eeprom: at24: replace msleep() with usleep_range()

We cannot expect msleep(1) to actually sleep for a period shorter than
20 ms. Replace all calls to msleep() with usleep_range().

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/misc/eeprom/at24.c