Skip to content

iio: chemical: bme680: use BME680_NUM_CHANNELS

Nikhil Gautam linux-iio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest1 patch 1 replyIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1iio: chemical: bme680: use BME680_NUM_CHANNELS for scan bufferdrivers/iio/chemical/bme680_core.c+1 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/1] iio: chemical: bme680: use BME680_NUM_CHANNELS

Hi,

This patch updates the BME680 driver to use the existing BME680_NUM_CHANNELS macro instead of a hardcoded value in the scan buffer.

In the previous version, the macro was proposed for removal as it appeared unused. However, it was pointed out during review that it is intended to represent the number of channels in the scan buffer.

This version addresses that feedback by using the macro instead of removing it, improving readability and maintainability.

Changes in v2:

Use BME680_NUM_CHANNELS instead of hardcoded value Keep the macro instead of removing it Address review feedback from Jonathan Cameron

Thanks,
Nikhil Gautam

Nikhil Gautam (1):
iio: chemical: bme680: use BME680_NUM_CHANNELS for scan buffer

 drivers/iio/chemical/bme680_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.34.1