Message ID | 1526016416-12361-1-git-send-email-rtresidd@electromag.com.au (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/iio/accel/mma8452.c b/drivers/iio/accel/mma8452.c index 5650b59..7e3d82c 100644 --- a/drivers/iio/accel/mma8452.c +++ b/drivers/iio/accel/mma8452.c @@ -195,7 +195,8 @@ static int mma8452_drdy(struct mma8452_data *data) return 0; if (data->sleep_val <= 20) - usleep_range(data->sleep_val * 250, data->sleep_val * 500); + usleep_range(data->sleep_val * 250, + data->sleep_val * 500); else msleep(20); }
Signed-off-by: Richard Tresidder <rtresidd@electromag.com.au> --- Notes: v4: Changes from v3 * Fix long line * Fix EOL format by not using email client for sending v3: Changes from v2 * Removed fallthrough fix (will submit separately) * Fixed some blank lines, trailing white spaces. v2: Changes from v1 * Remove whitespace changes * Added fallthrough fix (subsequently removed drivers/iio/accel/mma8452.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)