Jelajahi Sumber

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 tahun lalu
induk
melakukan
3923334265
2 mengubah file dengan 334 tambahan dan 330 penghapusan
  1. 114 110
      lsm6ds3tr-c_reg.c
  2. 220 220
      lsm6ds3tr-c_reg.h

File diff ditekan karena terlalu besar
+ 114 - 110
lsm6ds3tr-c_reg.c


File diff ditekan karena terlalu besar
+ 220 - 220
lsm6ds3tr-c_reg.h


Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini