iio: chemical: atlas-ph-sensor: use msleep() for long uncritical delays
authorMatt Ranostay <matt.ranostay@konsulko.com>
Tue, 10 Apr 2018 06:18:22 +0000 (23:18 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 15 Apr 2018 17:37:26 +0000 (18:37 +0100)
commit02112260acca09b11f96450c58420ec9312ae6fc
treeb72b8295adc7391087abfaf1893fd657689341be
parentc18af98bc875e8f2be99aad13b410f60d34064cf
iio: chemical: atlas-ph-sensor: use msleep() for long uncritical delays

usleep_range() uses hrtimers and provides no advantage over msleep()
for larger delays.

Cc: Nicholas Mc Guire <hofrat@osadl.org>
Link: http://lkml.org/lkml/2017/1/11/377
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/chemical/atlas-ph-sensor.c