Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp725668lqs; Tue, 5 Mar 2024 14:52:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW+lcEFTjlkF8ZU960HOAENJpr19dIhPjIpazZ5/y3UjGMtUuZxGE1vlwqkdl2b3X5LfXvY0MbJPVEkp7fGHHp2D0F15UstUUN2NcmXMg== X-Google-Smtp-Source: AGHT+IGmNCljAg4iuyBsbUC9xMnLtVp6SDinF9jUdgkKD0L3z0B79QYaebgscxWTJOFt74S2zkvs X-Received: by 2002:a05:620a:994:b0:788:25f9:32e4 with SMTP id x20-20020a05620a099400b0078825f932e4mr4974509qkx.27.1709679148182; Tue, 05 Mar 2024 14:52:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709679148; cv=pass; d=google.com; s=arc-20160816; b=e2SIIMtYpaq2NM6bN/NKYP+NxaObytzHNsNLDO8J+dcRbinuvXbsjjcNSE58W8Kb8B B7rnUEJRH7Y3fBFDpyug80F+EOGQTYSBG1WxuK8fFiEjv6kGdzJa4692k9AO+XWdO4zZ O1NZU/fLRx0qV7NQHtCcnJXm6vjwXkXL+UIqleHmgcN0RkcWcFf/NhU239tlafWaaJ6D tZXLYPOZ4uZs+etAYZFFJOzd6JwACdF8vR7cWIwXEK5n7F+gJNGQ8jMOEK3/9vA+GRuy g9MSR5UV79B77wqCGl3s24906QJUUQsppcUuudc8uxzGOIJFy0T8Mq5uBAVEz/aNiGU9 jUIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=jBMcGwrxIGyw0TZ0SsFNnAt4WvS2msMreI4FyJk4A6c=; fh=rMbFxTiN0T+LDgM/62pmaIa5q4OqyI3gMywO6djKNmA=; b=F3+vhmIwWMWm1o8S4raL3t6B0AgwsbGaE1D8Rtow7EGbn0Dcp393wmF7cvE9tdaXU8 oqbnKExtvNdD0K3a5TKktWHYrLDyrbV+4ftztBlTHCX4bZ80TPg0IkPz8dXOS6nIrQj5 UbVzahfKuROhyFPM5ZTGmPYOkJ721fFkPClqqLd3tLQtTHDrEcVgICbGEOYVuU/ERJlH 7JwjdX3BlzaYdlOa41EMCN0ZukoSJi7d9Kr79RBr36KTa26cz47BHmVMmENAI4dspg2J yuASaopFrwlACjzzM3OIuCbfgJBB6hP1B114qCAI0Mm5HX/8vKB2G6cQzWQ7bMBIutZY 8wqQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=j9dIxJmJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-93073-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93073-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d12-20020a05620a136c00b0078819b60f22si8475831qkl.250.2024.03.05.14.52.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 14:52:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93073-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=j9dIxJmJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-93073-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93073-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E45971C2197A for ; Tue, 5 Mar 2024 22:52:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8DCFD12D210; Tue, 5 Mar 2024 22:52:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="j9dIxJmJ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B5DA73FB9B; Tue, 5 Mar 2024 22:52:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709679139; cv=none; b=FKJfTRdzP2EILQ65BHWGXIkBFDzqEb5lONZkNYeXqFlorc6VPPsrZwOw1y78TJD9Y0AZwrCVCAVVmpkKgaWK0AabAEcAL8uRfkAW9lMgC+VcSlS2lJYuoOTpSGZc4W3F+Z1Ts2+sxuzMI+j5gWwTt6qGK1BQxKonT7Wz3U/a6HU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709679139; c=relaxed/simple; bh=L1paJPYPLdt6AZvCF+Q8QCtBk4CJCgcJ8Mm+N8fc5fw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jjjmLmRO67KiN9QY3dSfX0gjJiz4HBG46CMPT9zN5FBwo7PFZnMYk+xSmkqU4W0cJ83g9aoKPNcP70FP1s0yogIXimZdq9+ygv68m1eZGCi3xCR2dKJUMgy9+AoSQIEYP4CvVgXjPeyvJ2YXFLW+BC24AlabuS9w3mCRrSOtDbc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=j9dIxJmJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B167C433C7; Tue, 5 Mar 2024 22:52:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709679139; bh=L1paJPYPLdt6AZvCF+Q8QCtBk4CJCgcJ8Mm+N8fc5fw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=j9dIxJmJN+5NmuJ9Bny88Z/JitQ7V1cIgoYja22uXxbD8Tlt/AdydhGkZ+DQNxm2n +wapWsFdetL6VR11v8+D/7VtkpXLnJfnGOdbtFaQA/rIAGCLwzu2iLDHAfODT4E17n NXdCAZRp4uF9XQMUT33zqVAz1uwsXPz+J+X0cdIUaIak71C1/XRFl2byv94L+oawja q8EsFOUoyxGRVMCg0mHL9w5LIypGO98iETDVqCRPWwvJcWD03+HgELbiNP8Wlf2eki Jp/pg8f22Ie6XHP+wRmGAM++PXNzQoJfV0saKMM9ql2mVEfyCXw8Q23MBfLcX+HIrN IEzWC0L8F4wWw== Date: Tue, 5 Mar 2024 23:52:15 +0100 From: Andi Shyti To: Andy Shevchenko Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Sean Young , Mauro Carvalho Chehab Subject: Re: [SPAM] [PATCH v1 5/5] media: ir-spi: Unify indentation and comment style Message-ID: References: <20240305174933.1370708-1-andriy.shevchenko@linux.intel.com> <20240305174933.1370708-6-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240305174933.1370708-6-andriy.shevchenko@linux.intel.com> Hi Andy, On Tue, Mar 05, 2024 at 07:48:30PM +0200, Andy Shevchenko wrote: > Unify the indentation and multi-line comment style. > > Signed-off-by: Andy Shevchenko > --- > drivers/media/rc/ir-spi.c | 12 +++++------- > 1 file changed, 5 insertions(+), 7 deletions(-) > > diff --git a/drivers/media/rc/ir-spi.c b/drivers/media/rc/ir-spi.c > index 801de3d108cc..8fc8e496e6aa 100644 > --- a/drivers/media/rc/ir-spi.c > +++ b/drivers/media/rc/ir-spi.c > @@ -36,8 +36,7 @@ struct ir_spi_data { > struct regulator *regulator; > }; > > -static int ir_spi_tx(struct rc_dev *dev, > - unsigned int *buffer, unsigned int count) > +static int ir_spi_tx(struct rc_dev *dev, unsigned int *buffer, unsigned int count) this goes over 80 characters, though. Not an error, but not worth a change either. I'm not going block the patch as the rest is OK. Reviewed-by: Andi Shyti Andi > { > int i; > int ret; > @@ -57,7 +56,7 @@ static int ir_spi_tx(struct rc_dev *dev, > return -EINVAL; > > /* > - * the first value in buffer is a pulse, so that 0, 2, 4, ... > + * The first value in buffer is a pulse, so that 0, 2, 4, ... > * contain a pulse duration. On the contrary, 1, 3, 5, ... > * contain a space duration. > */ > @@ -146,9 +145,9 @@ static int ir_spi_probe(struct spi_device *spi) > if (ret) > dc = 50; > > - /* ir_spi_set_duty_cycle cannot fail, > - * it returns int to be compatible with the > - * rc->s_tx_duty_cycle function > + /* > + * ir_spi_set_duty_cycle() cannot fail, it returns int > + * to be compatible with the rc->s_tx_duty_cycle function. > */ > ir_spi_set_duty_cycle(idata->rc, dc); > > @@ -177,7 +176,6 @@ static struct spi_driver ir_spi_driver = { > .of_match_table = ir_spi_of_match, > }, > }; > - > module_spi_driver(ir_spi_driver); > > MODULE_AUTHOR("Andi Shyti "); > -- > 2.43.0.rc1.1.gbec44491f096 >