From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DE43AC432C0 for ; Sun, 1 Dec 2019 21:38:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AA63B215E5 for ; Sun, 1 Dec 2019 21:38:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575236317; bh=Yp9EJ3eYs7i04ZRykQ+Y1N/gDTF83XmPwmwjak7dZks=; h=From:To:Cc:Subject:Date:List-ID:From; b=uratKa7IRppQ2lpU9T4/nV9QFOp8zvMGvdSlPDOpVVBwFd/6ptKPmRh/E5vJR5GpI k1QfVYgXy+BIpfljxp4kEkRfNxKiFfXpdUwJBA1botS36Xl2EYdQquiSwvN7DWJLV/ m3A3+6CAlbbbhXupn/utWxJnGNfOxiPDsEGjMQ5w= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727040AbfLAVih (ORCPT ); Sun, 1 Dec 2019 16:38:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:60070 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726982AbfLAVih (ORCPT ); Sun, 1 Dec 2019 16:38:37 -0500 Received: from localhost.localdomain.com (unknown [77.139.212.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3C5982082E; Sun, 1 Dec 2019 21:38:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575236316; bh=Yp9EJ3eYs7i04ZRykQ+Y1N/gDTF83XmPwmwjak7dZks=; h=From:To:Cc:Subject:Date:From; b=DehbeqbttSv8BtUhCtj24d5hON0R8ORCUOMgbfBHeqwbzaIoyTcL/ZjMXcuJlWdLg rub0JZGs6bF5RPXBkFrgKHMNoyQAT55zIQ0Mq+hKe/jgf+8kF8deh3Iy1oFOL+9X1r O0RPt5fDuQdmFNcLS4axKJJiMFY4FrW3R/d8/VDU= From: Lorenzo Bianconi To: jic23@kernel.org Cc: lorenzo.bianconi@redhat.com, linux-iio@vger.kernel.org Subject: [PATCH v2] iio: imu: st_lsm6dsx: fix checkpatch warning Date: Sun, 1 Dec 2019 23:38:18 +0200 Message-Id: <34b2e207df91e1645ba5a4d2b12dfd41bdd17336.1575236122.git.lorenzo@kernel.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org Fix following checkpatch warning: CHECK: Alignment should match open parenthesis +static int st_lsm6dsx_read_event(struct iio_dev *iio_dev, + const struct iio_chan_spec *chan, Signed-off-by: Lorenzo Bianconi --- Changes since v1: - remove extra line break in routine signature - remove not related change --- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c index a7d40c02ce6b..ff5bac8ff9c6 100644 --- a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c +++ b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c @@ -1608,11 +1608,11 @@ static int st_lsm6dsx_event_setup(struct st_lsm6dsx_hw *hw, int state) } static int st_lsm6dsx_read_event(struct iio_dev *iio_dev, - const struct iio_chan_spec *chan, - enum iio_event_type type, - enum iio_event_direction dir, - enum iio_event_info info, - int *val, int *val2) + const struct iio_chan_spec *chan, + enum iio_event_type type, + enum iio_event_direction dir, + enum iio_event_info info, + int *val, int *val2) { struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); struct st_lsm6dsx_hw *hw = sensor->hw; -- 2.21.0