public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
From: Nikhil Gautam <nikhilgtr@gmail.com>
To: linux-iio@vger.kernel.org
Cc: jic23@kernel.org, dlechner@baylibre.com, nuno.sa@analog.com,
	andy@kernel.org, Nikhil Gautam <nikhilgtr@gmail.com>
Subject: [PATCH] iio: chemical: bme680: remove unused BME680_NUM_CHANNELS macro
Date: Tue,  7 Apr 2026 14:33:27 +0530	[thread overview]
Message-ID: <20260407090327.4987-1-nikhilgtr@gmail.com> (raw)

The BME680_NUM_CHANNELS macro is not used anywhere in the driver.
Remove it to avoid keeping dead code and to improve readability.

No functional change intended.

Signed-off-by: Nikhil Gautam <nikhilgtr@gmail.com>
---
 drivers/iio/chemical/bme680.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/iio/chemical/bme680.h b/drivers/iio/chemical/bme680.h
index 7d86ed8b02e6..e10d3aaaca23 100644
--- a/drivers/iio/chemical/bme680.h
+++ b/drivers/iio/chemical/bme680.h
@@ -68,7 +68,6 @@
 /* Datasheet Section 1.1, Table 1 */
 #define BME680_STARTUP_TIME_US			2000
 
-#define BME680_NUM_CHANNELS			4
 #define BME680_NUM_BULK_READ_REGS		15
 
 /* Calibration Parameters */
-- 
2.43.0


             reply	other threads:[~2026-04-07  9:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-07  9:03 Nikhil Gautam [this message]
2026-04-07 14:28 ` [PATCH] iio: chemical: bme680: remove unused BME680_NUM_CHANNELS macro David Lechner

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=20260407090327.4987-1-nikhilgtr@gmail.com \
    --to=nikhilgtr@gmail.com \
    --cc=andy@kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=nuno.sa@analog.com \
    /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