The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] iio: humidity: hts221: Fix checkpatch blank line warning
@ 2026-08-02  2:06 Adi Nata
  0 siblings, 0 replies; only message in thread
From: Adi Nata @ 2026-08-02  2:06 UTC (permalink / raw)
  To: lorenzo, jic23, dlechner, nuno.sa, andy, linux-iio, linux-kernel
  Cc: linux-kernel-mentees, Adi Nata

Checkpatch warning:

WARNING: Missing a blank line after declarations
+	struct hts221_hw *hw = iio_priv(iio_dev);

Signed-off-by: Adi Nata <adinata.softwareengineer@gmail.com>
---
 drivers/iio/humidity/hts221_buffer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iio/humidity/hts221_buffer.c b/drivers/iio/humidity/hts221_buffer.c
index 4d03db19063e..c868549d09c0 100644
--- a/drivers/iio/humidity/hts221_buffer.c
+++ b/drivers/iio/humidity/hts221_buffer.c
@@ -194,6 +194,7 @@ static irqreturn_t hts221_buffer_handler_thread(int irq, void *p)
 int hts221_allocate_buffers(struct iio_dev *iio_dev)
 {
 	struct hts221_hw *hw = iio_priv(iio_dev);
+
 	return devm_iio_triggered_buffer_setup(hw->dev, iio_dev,
 					NULL, hts221_buffer_handler_thread,
 					&hts221_buffer_ops);
-- 
2.47.3


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-02  2:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-02  2:06 [PATCH] iio: humidity: hts221: Fix checkpatch blank line warning Adi Nata

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox