소스 검색

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 년 전
부모
커밋
3923334265
2개의 변경된 파일334개의 추가작업 그리고 330개의 파일을 삭제
  1. 114 110
      lsm6ds3tr-c_reg.c
  2. 220 220
      lsm6ds3tr-c_reg.h

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 114 - 110
lsm6ds3tr-c_reg.c


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 220 - 220
lsm6ds3tr-c_reg.h


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.