Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1333274pxm; Sat, 26 Feb 2022 12:05:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJx/useLws2aXsa4alZjOo0hFiVw2n2QkaSFYi1vnv9KTJ+4ww/nDJs+WEhpi6aUEWWWbdeA X-Received: by 2002:a17:90a:a887:b0:1bc:388a:329f with SMTP id h7-20020a17090aa88700b001bc388a329fmr9291480pjq.17.1645905948343; Sat, 26 Feb 2022 12:05:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645905948; cv=none; d=google.com; s=arc-20160816; b=EpHlQcDp4AWDgzRPfTHWipF/BtaTukhXSwC7KBgzeixZZ6Pbm2GwmpEnSmQ3ZfzL0e GfagNtwLN4lSKlMjPlMWKXCzTB4VG2gOqdvbndNizPIhiECH/2NKtggFnsucWu9U2rSc EAiWoJ6xBukpARWVo1V/7pSbXsuJf0H2qaCMjdELvtOrT7OSz1Fez0b79wm/3h2YHUsj 6P/hD1lgeozsst1Lk/HPXh3M+Xfqf8oRfAt0Ztt9W2VPFxLQdvkVaRmvBwvDG7qtvJ9F xD2RQeQDVYmj6lTJacxhyCwirrwCfZ+U0tTLkrETr0jC3REwzjL+Tuv9VKIEIF1qTnmJ Ct/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=Pv4ooTYTtAb6sFVsKjPXJmcw/Y6sYYcNHrxpGSr99+s=; b=mvg2NiBc2HQgIOBO0JQfdoICU2NB9FvnFE6zrmvhcDOeTObuoobGT7BE2qSTiNpbvW 6a+ehxoNa7oZneFtahyMVIZhK21r/mZ3xx3LFR7Z0PFPkP35TlPg7Lp2VebQmwr3kNVC X120RMfV6aqCOVzvmm+BG05ac8/yXc8+vkK9mDAugtsw2ElF5/kPz4WSqreqj50vHPLk jTudfMimACHQptiI9CvNOzRJN94RCVmFLmlZhQ3OSOJPpstUM5iCZ1BQuBXPFGrV/pK8 jHS06VMzLiNI0QbUQI3SG+och/g6VlSTQUTPkxfbgvArfZ3zgc9mZSaO7A2pQXyZq6u+ Apsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SbC9C3yk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id n8-20020a63b448000000b003742978e143si5519188pgu.646.2022.02.26.12.05.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Feb 2022 12:05:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SbC9C3yk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BF81220D534; Sat, 26 Feb 2022 12:04:29 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232664AbiBZS3J (ORCPT + 99 others); Sat, 26 Feb 2022 13:29:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231556AbiBZS3H (ORCPT ); Sat, 26 Feb 2022 13:29:07 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B21414EF7A; Sat, 26 Feb 2022 10:28:32 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EF04760EEC; Sat, 26 Feb 2022 18:28:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 973FFC340E8; Sat, 26 Feb 2022 18:28:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645900111; bh=A5x+J24q++41RYB+T+gJgAyODlZbkpVmhA1bsmhBEx0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=SbC9C3ykaWYW3JnhSA0C7SKAvUTBlcD5SC+M7F6pBxzYcVPvaD6i7tN9h8WQPee3E BQnWhYKUmzL1kcmVOvf+1UwJ06NfOkOr0HHEPiyvaqIPNbrW7uV54PM9PTNH0IpXr4 m2W5DA7ajyrc70iqpGttmEzzo/sO/c5TZl5X9VC5CVgVO41Qp4eDLjMlWhV+S3xhC6 MofQmzx7XFrLUPDvPnjIcCI+W1JjZ56BtR6XjhG61U6c5TCMu0flfA2DOoRC8z94Fm 6LQgiKRaBpF4oio7+NY3tkx1C/GsfWC8ceJQ7HvlBl+WcqmaXzsiD/G+EpM7xTWDm/ zsxEIeR2VryIw== Date: Sat, 26 Feb 2022 18:35:31 +0000 From: Jonathan Cameron To: Jagath Jog J Cc: lars@metafoo.de, andy.shevchenko@gmail.com, sst@poczta.fm, robh+dt@kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 1/7] iio: potentiometer: Alignment to match the open parenthesis Message-ID: <20220226183531.05f5f0be@jic23-huawei> In-Reply-To: <20220223163525.13399-2-jagathjog1996@gmail.com> References: <20220223163525.13399-1-jagathjog1996@gmail.com> <20220223163525.13399-2-jagathjog1996@gmail.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 23 Feb 2022 22:05:19 +0530 Jagath Jog J wrote: > Fix following checkpatch.pl check by removing blank space. > CHECK: Alignment should match open parenthesis. > > Signed-off-by: Jagath Jog J I didn't noticed before, but for future please put the driver name in the patch titles! iio: potentiometer: ds1803: xxxx I'll fix up. > --- > drivers/iio/potentiometer/ds1803.c | 13 ++++++------- > 1 file changed, 6 insertions(+), 7 deletions(-) > > diff --git a/drivers/iio/potentiometer/ds1803.c b/drivers/iio/potentiometer/ds1803.c > index 20b45407eaac..3c542a50ece6 100644 > --- a/drivers/iio/potentiometer/ds1803.c > +++ b/drivers/iio/potentiometer/ds1803.c > @@ -55,8 +55,8 @@ static const struct iio_chan_spec ds1803_channels[] = { > }; > > static int ds1803_read_raw(struct iio_dev *indio_dev, > - struct iio_chan_spec const *chan, > - int *val, int *val2, long mask) > + struct iio_chan_spec const *chan, > + int *val, int *val2, long mask) > { > struct ds1803_data *data = iio_priv(indio_dev); > int pot = chan->channel; > @@ -66,7 +66,7 @@ static int ds1803_read_raw(struct iio_dev *indio_dev, > switch (mask) { > case IIO_CHAN_INFO_RAW: > ret = i2c_master_recv(data->client, result, > - indio_dev->num_channels); > + indio_dev->num_channels); > if (ret < 0) > return ret; > > @@ -83,8 +83,8 @@ static int ds1803_read_raw(struct iio_dev *indio_dev, > } > > static int ds1803_write_raw(struct iio_dev *indio_dev, > - struct iio_chan_spec const *chan, > - int val, int val2, long mask) > + struct iio_chan_spec const *chan, > + int val, int val2, long mask) > { > struct ds1803_data *data = iio_priv(indio_dev); > int pot = chan->channel; > @@ -109,8 +109,7 @@ static const struct iio_info ds1803_info = { > .write_raw = ds1803_write_raw, > }; > > -static int ds1803_probe(struct i2c_client *client, > - const struct i2c_device_id *id) > +static int ds1803_probe(struct i2c_client *client, const struct i2c_device_id *id) > { > struct device *dev = &client->dev; > struct ds1803_data *data;