From patchwork Thu Mar 8 09:48:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Veenstra X-Patchwork-Id: 10267377 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 B3880602C8 for ; Thu, 8 Mar 2018 09:48:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A353729760 for ; Thu, 8 Mar 2018 09:48:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 984812983C; Thu, 8 Mar 2018 09:48:19 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 28C1629760 for ; Thu, 8 Mar 2018 09:48:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755501AbeCHJsS (ORCPT ); Thu, 8 Mar 2018 04:48:18 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:37849 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755406AbeCHJsR (ORCPT ); Thu, 8 Mar 2018 04:48:17 -0500 Received: by mail-wm0-f65.google.com with SMTP id 139so9868181wmn.2 for ; Thu, 08 Mar 2018 01:48:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=Th0fNrveyxnPTh0iD1Lxs215kOPLBxSLa59t5CTLdvo=; b=url8PxcfD87rjt3IkEELOfmYoVkIEFbM0mbcDiRmQmfJARMkbRf6/F0L9KT2P5iSoj cY9pvONJ/C8eSUn44ejFCvu9cX9edBUQThZLrCAmVmI/xOqFZ0KPRSm9JMwObaOtaJqD 2ctamFzfQH9KeQ5ou+HUJh3AFIxdzl5WPr4ih3WlGpVTRyic7D6ScvFUrI4uzSBJDPSy evK7rju2+2nSLAirhjV8zfRiTP9bAzJvNTdBpixwUJW4TAZsqo38NooQdG/WhUEGbOMP O4Pw1IWgEpD0up+EbDqztN624kLWcbeKZlVLuU8IJ+oRpS2nRFw+YhuxMPcR9h9Iz32O cFPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=Th0fNrveyxnPTh0iD1Lxs215kOPLBxSLa59t5CTLdvo=; b=LyigdggiwZaE8hzbsXuUZoOyo3Ny1nviGr7jhLDdysXbIELBmsCJYlGx8s3l38jANl QUluQUxUxv0JEH+Jn8VPkiF4bgQd6D1sJ6bB1XxV0MYnnoz74kjXId1pz6Op8TtKYILo El5EGAj8PIgmfZaB/n6J50DgqY/1TNFddCyjHo7K/oq7sSICRiddm0oUutQmHsosikhp /ltEHJuYMrQA99jLST/6dNEg4ezz0gT7ZUibtkIO383ubbVuyqdqqbKufNEQ4dL2lrNz BFz4aR5THN7yn6OUxnTXwd1gwnKnY8u44PwIaBW4PvPCN9GLjwabdCYEHpwS352Nr18V tBQg== X-Gm-Message-State: APf1xPDgbLQFIMJswhYlrAtqYhvkZEtng5olzDWmx4nBbPKpQs27TumW 2pColgUxAH0/2LcaX4v7bV2SAA== X-Google-Smtp-Source: AG47ELs3G+j8X5j3RWL5Pbo2q15Wt6MK4ulGcz8nvF81CkcSdeDy47I8zOkcLhn5bCrlVVHrE7bB7g== X-Received: by 10.80.137.135 with SMTP id g7mr31981709edg.100.1520502496861; Thu, 08 Mar 2018 01:48:16 -0800 (PST) Received: from zenbook-arch (wcw-stud-145-109-42-179.wireless.uva.nl. [145.109.42.179]) by smtp.gmail.com with ESMTPSA id v15sm17090274eda.38.2018.03.08.01.48.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Mar 2018 01:48:16 -0800 (PST) Date: Thu, 8 Mar 2018 10:48:13 +0100 From: David Veenstra To: lars@metafoo.de Cc: linux-iio@vger.kernel.org Subject: [PATCH] Staging: iio: ad7746: Adjust arguments to match open parenthesis Message-ID: <20180308094813.GA11596@zenbook-arch> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) 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 This patch clears all checkpatch.pl CHECKS, about alignment not matching open parenthesis, whenever it is possible without going beyond 80 columns. Signed-off-by: David Veenstra --- drivers/staging/iio/cdc/ad7746.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/iio/cdc/ad7746.c b/drivers/staging/iio/cdc/ad7746.c index c4a864725376..4882dbc81c53 100644 --- a/drivers/staging/iio/cdc/ad7746.c +++ b/drivers/staging/iio/cdc/ad7746.c @@ -217,7 +217,7 @@ static const unsigned char ad7746_cap_filter_rate_table[][2] = { }; static int ad7746_select_channel(struct iio_dev *indio_dev, - struct iio_chan_spec const *chan) + struct iio_chan_spec const *chan) { struct ad7746_chip_info *chip = iio_priv(indio_dev); int ret, delay, idx; @@ -487,13 +487,13 @@ static int ad7746_write_raw(struct iio_dev *indio_dev, AD7746_CAPDAC_DACP(val) | AD7746_CAPDAC_DACEN : 0; ret = i2c_smbus_write_byte_data(chip->client, - AD7746_REG_CAPDACA, - chip->capdac[chan->channel][0]); + AD7746_REG_CAPDACA, + chip->capdac[chan->channel][0]); if (ret < 0) goto out; ret = i2c_smbus_write_byte_data(chip->client, - AD7746_REG_CAPDACB, - chip->capdac[chan->channel][1]); + AD7746_REG_CAPDACB, + chip->capdac[chan->channel][1]); if (ret < 0) goto out; @@ -675,7 +675,7 @@ static const struct iio_info ad7746_info = { */ static int ad7746_probe(struct i2c_client *client, - const struct i2c_device_id *id) + const struct i2c_device_id *id) { struct ad7746_platform_data *pdata = client->dev.platform_data; struct ad7746_chip_info *chip;