zephyr/drivers/fuel_gauge
Mikkel Jakobsen e4c21da41b drivers: fuel_gauge: make read-only pointer args const in api
For the lists of properties passed as a pointer to the get_props and
set_props functions, there is no reason to not make the pointer const as
the called functions will not and should not alter the pointed-to data.

In practice, not having the pointers const can cause compilation errors
if trying to pass in a const array of properties.

Signed-off-by: Mikkel Jakobsen <mikkel.aunsbjerg@escolifesciences.com>
2024-12-24 13:54:15 +01:00
..
bq27z746 drivers: fuel_gauge: Place API into iterable section 2024-12-04 14:16:06 -05:00
composite drivers: fuel_gauge: Place API into iterable section 2024-12-04 14:16:06 -05:00
max17048 drivers: fuel_gauge: Place API into iterable section 2024-12-04 14:16:06 -05:00
sbs_gauge drivers: fuel_gauge: Place API into iterable section 2024-12-04 14:16:06 -05:00
CMakeLists.txt fuel_gauge: composite analog fuel gauge 2024-08-29 16:12:36 -04:00
emul_fuel_gauge_syscall_handlers.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
fuel_gauge_syscall_handlers.c drivers: fuel_gauge: make read-only pointer args const in api 2024-12-24 13:54:15 +01:00
Kconfig fuel_gauge: composite analog fuel gauge 2024-08-29 16:12:36 -04:00