zephyr/drivers/sensor/bosch/bmp581
Gaetan Perrot de1fa4776b drivers: sensor: bmp581: add const qualifier when casting
Add the 'const' qualifier when casting 'dev->config' to 'struct
bmp581_config *' to preserve const-correctness and fix SonarQube warning :

 "A cast shall not remove any const or volatile qualification from the
 type of a pointer or reference."

This improves maintainability by respecting the const contract and resolve
static analysis issues.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2025-07-04 13:06:22 -05:00
..
bmp581.c drivers: sensor: bmp581: add const qualifier when casting 2025-07-04 13:06:22 -05:00
bmp581.h
CMakeLists.txt
Kconfig