commit | 9217e37901f08f1a4a96c730d00bebb0f57205b8 | [log] [tgz] |
---|---|---|
author | Armando Visconti <armando.visconti@st.com> | Mon May 31 18:02:13 2021 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Jun 29 11:31:06 2021 -0400 |
tree | 3bcaccaeb0f3ec58bc75aedd59a9026415bf73a3 | |
parent | 77b74f1b85b604b6dc54dc8337d56f4d9d33f309 [diff] |
drivers/sensor: lis2dw12: Add multi-instance support This commit aligns lis2dw12 sensor driver to latest multi instance sensor driver model. In particular it makes use of the stmemsc common routines and move ctx handler inside struct config, so that the bus_init routines can be totally avoided. Signed-off-by: Armando Visconti <armando.visconti@st.com>