Re: [PATCH] drivers: iio: proximity: This patch fix the following checkpatch warning.

2019-04-24 Thread Jonathan Cameron
On Wed, 24 Apr 2019 17:23:26 +0800 Matt Ranostay wrote: > On Mon, Apr 22, 2019 at 6:48 PM Jonathan Cameron wrote: > > > > On Thu, 18 Apr 2019 16:23:51 -0700 > > Matt Ranostay wrote: > > > > > See comments inline > > > > > > On Wed, Apr 17, 2019 at 11:15 AM Mohan Kumar > > > wrote: > > > >

Re: [PATCH] drivers: iio: proximity: This patch fix the following checkpatch warning.

2019-04-24 Thread Matt Ranostay
On Mon, Apr 22, 2019 at 6:48 PM Jonathan Cameron wrote: > > On Thu, 18 Apr 2019 16:23:51 -0700 > Matt Ranostay wrote: > > > See comments inline > > > > On Wed, Apr 17, 2019 at 11:15 AM Mohan Kumar > > wrote: > > > > > > As per Documentation/timers/timers-howto.txt Msleep < 20ms can sleep for >

Re: [PATCH] drivers: iio: proximity: This patch fix the following checkpatch warning.

2019-04-22 Thread Jonathan Cameron
On Thu, 18 Apr 2019 16:23:51 -0700 Matt Ranostay wrote: > See comments inline > > On Wed, Apr 17, 2019 at 11:15 AM Mohan Kumar wrote: > > > > As per Documentation/timers/timers-howto.txt Msleep < 20ms can sleep for > > up to 20ms. so use usleep_range. > > > > Signed-off-by: Mohan Kumar > > ---

Re: [PATCH] drivers: iio: proximity: This patch fix the following checkpatch warning.

2019-04-18 Thread Matt Ranostay
See comments inline On Wed, Apr 17, 2019 at 11:15 AM Mohan Kumar wrote: > > As per Documentation/timers/timers-howto.txt Msleep < 20ms can sleep for > up to 20ms. so use usleep_range. > > Signed-off-by: Mohan Kumar > --- > drivers/iio/proximity/mb1232.c | 2 +- > drivers/iio/proximity/srf08.c

[PATCH] drivers: iio: proximity: This patch fix the following checkpatch warning.

2019-04-17 Thread Mohan Kumar
As per Documentation/timers/timers-howto.txt Msleep < 20ms can sleep for up to 20ms. so use usleep_range. Signed-off-by: Mohan Kumar --- drivers/iio/proximity/mb1232.c | 2 +- drivers/iio/proximity/srf08.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/iio/prox