From patchwork Fri May 11 05:26:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Tresidder X-Patchwork-Id: 10393311 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 83880602B1 for ; Fri, 11 May 2018 05:37:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5BDCC206E2 for ; Fri, 11 May 2018 05:37:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4B19928D21; Fri, 11 May 2018 05:37:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1AD5F206E2 for ; Fri, 11 May 2018 05:37:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752100AbeEKFhY (ORCPT ); Fri, 11 May 2018 01:37:24 -0400 Received: from icp-osb-irony-out2.external.iinet.net.au ([203.59.1.155]:1828 "EHLO icp-osb-irony-out2.external.iinet.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751857AbeEKFhX (ORCPT ); Fri, 11 May 2018 01:37:23 -0400 X-Greylist: delayed 595 seconds by postgrey-1.27 at vger.kernel.org; Fri, 11 May 2018 01:37:23 EDT X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2CNDAApKfVa/1/rO8tcH4NVgTYmFhKYZ?= =?us-ascii?q?IMIkzQUgWQeGAGHQiE0GAECAQEBAQEBAmwoQgEBAwkChQR6J3ASgyOBdAytXjM?= =?us-ascii?q?aAogtgkiIJYFUP4NshGoEARIBB4VsAox2izgJZ41sh2WFAJF+HDhhcU0fGYJ+k?= =?us-ascii?q?FsyMHgBgx9NiA0PF4IgAQE?= X-IPAS-Result: =?us-ascii?q?A2CNDAApKfVa/1/rO8tcH4NVgTYmFhKYZIMIkzQUgWQeGAG?= =?us-ascii?q?HQiE0GAECAQEBAQEBAmwoQgEBAwkChQR6J3ASgyOBdAytXjMaAogtgkiIJYFUP?= =?us-ascii?q?4NshGoEARIBB4VsAox2izgJZ41sh2WFAJF+HDhhcU0fGYJ+kFsyMHgBgx9NiA0?= =?us-ascii?q?PF4IgAQE?= X-IronPort-AV: E=Sophos;i="5.49,387,1520870400"; d="scan'208";a="108906209" Received: from unknown (HELO electromag.com.au) ([203.59.235.95]) by icp-osb-irony-out2.iinet.net.au with ESMTP; 11 May 2018 13:27:06 +0800 From: Richard Tresidder To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, harinath922@gmail.com, martink@posteo.de, rtresidd@electromag.com.au, linux-iio@vger.kernel.org Subject: [PATCH v4 1/1] iio: accell: mma8452: Split long line Split Long Line Date: Fri, 11 May 2018 13:26:56 +0800 Message-Id: <1526016416-12361-1-git-send-email-rtresidd@electromag.com.au> X-Mailer: git-send-email 1.8.3.1 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Richard Tresidder --- 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(-) 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); }