Parcourir la source

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 il y a 2 ans
Parent
commit
3923334265
2 fichiers modifiés avec 334 ajouts et 330 suppressions
  1. 114 110
      lsm6ds3tr-c_reg.c
  2. 220 220
      lsm6ds3tr-c_reg.h

Fichier diff supprimé car celui-ci est trop grand
+ 114 - 110
lsm6ds3tr-c_reg.c


Fichier diff supprimé car celui-ci est trop grand
+ 220 - 220
lsm6ds3tr-c_reg.h


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff