public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iio: chemical: bme680: remove unused BME680_NUM_CHANNELS macro
@ 2026-04-07  9:03 Nikhil Gautam
  2026-04-07 14:28 ` David Lechner
  0 siblings, 1 reply; 2+ messages in thread
From: Nikhil Gautam @ 2026-04-07  9:03 UTC (permalink / raw)
  To: linux-iio; +Cc: jic23, dlechner, nuno.sa, andy, Nikhil Gautam

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-07 14:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-07  9:03 [PATCH] iio: chemical: bme680: remove unused BME680_NUM_CHANNELS macro Nikhil Gautam
2026-04-07 14:28 ` David Lechner

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