iio: chemical: bme680: use BME680_NUM_CHANNELS
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest1 patch 1 replyIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | iio: chemical: bme680: use BME680_NUM_CHANNELS for scan bufferdrivers/ | +1 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
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