Przeglądaj źródła

Add "const" to ctx arg for all APIs

The ctx argument points to a stmdev_ctx_t structure
that cannot be changed inside drivers API. So make
it constant just to prevent bad usage.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
Armando Visconti 2 lat temu
rodzic
commit
3923334265
2 zmienionych plików z 334 dodań i 330 usunięć
  1. 114 110
      lsm6ds3tr-c_reg.c
  2. 220 220
      lsm6ds3tr-c_reg.h

Plik diff jest za duży
+ 114 - 110
lsm6ds3tr-c_reg.c


Plik diff jest za duży
+ 220 - 220
lsm6ds3tr-c_reg.h


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików