Linux IIO development
 help / color / mirror / Atom feed
From: Gustavo <ogustavo@usp.br>
To: lars@metafoo.de, Michael.Hennerich@analog.com, jic23@kernel.org
Cc: Gustavo <gustavenrique01@gmail.com>,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
	Bruna Lopes <brunaafl@usp.br>
Subject: [PATCH 2/3] iio: adc: ad799x.c: add blank line to avoid warning messages
Date: Thu, 25 Apr 2024 22:23:12 -0300	[thread overview]
Message-ID: <20240426012313.2295067-3-gustavenrique01@gmail.com> (raw)
In-Reply-To: <20240426012313.2295067-1-gustavenrique01@gmail.com>

Add a blank line before if statement to avoid warning messages.

Co-developed-by: Bruna Lopes <brunaafl@usp.br>
Signed-off-by: Bruna Lopes <brunaafl@usp.br>
Signed-off-by: Gustavo <gustavenrique01@gmail.com>
---
 drivers/iio/adc/ad799x.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iio/adc/ad799x.c b/drivers/iio/adc/ad799x.c
index 3040575793a2..9a12e562c259 100644
--- a/drivers/iio/adc/ad799x.c
+++ b/drivers/iio/adc/ad799x.c
@@ -335,6 +335,7 @@ static ssize_t ad799x_read_frequency(struct device *dev,
 	struct ad799x_state *st = iio_priv(indio_dev);
 
 	int ret = i2c_smbus_read_byte_data(st->client, AD7998_CYCLE_TMR_REG);
+
 	if (ret < 0)
 		return ret;
 
-- 
2.34.1


  parent reply	other threads:[~2024-04-26  1:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-26  1:23 [PATCH 0/3] iio: adc: ad799x: Fix warning generated by checkpatch Gustavo
2024-04-26  1:23 ` [PATCH 1/3] iio: adc: ad799x: change 'unsigned' to 'unsigned int' declaration Gustavo
2024-04-26  1:23 ` Gustavo [this message]
2024-04-26  1:23 ` [PATCH 3/3] iio: adc: ad799x: Prefer to use octal permission instead of symbolic Gustavo
2024-04-27 10:39 ` [PATCH 0/3] iio: adc: ad799x: Fix warning generated by checkpatch Marcelo Schmitt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240426012313.2295067-3-gustavenrique01@gmail.com \
    --to=ogustavo@usp.br \
    --cc=Michael.Hennerich@analog.com \
    --cc=brunaafl@usp.br \
    --cc=gustavenrique01@gmail.com \
    --cc=jic23@kernel.org \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox