drivers/sensor: Fix typos in iis2dlpc/iis2iclx/lsm6dso
The ',' character was used as line terminator instead of ';' in SPI routines. The three affected drivers were not showing any issue, but the typo is fixed for clarity. Signed-off-by: Armando Visconti <armando.visconti@st.com>
This commit is contained in:
parent
66d1b3ce10
commit
4141705ad3
3 changed files with 6 additions and 6 deletions
|
@ -98,8 +98,8 @@ int lsm6dso_spi_init(const struct device *dev)
|
|||
{
|
||||
struct lsm6dso_data *data = dev->data;
|
||||
|
||||
data->ctx_spi.read_reg = (stmdev_read_ptr) lsm6dso_spi_read,
|
||||
data->ctx_spi.write_reg = (stmdev_write_ptr) lsm6dso_spi_write,
|
||||
data->ctx_spi.read_reg = (stmdev_read_ptr) lsm6dso_spi_read;
|
||||
data->ctx_spi.write_reg = (stmdev_write_ptr) lsm6dso_spi_write;
|
||||
|
||||
data->ctx = &data->ctx_spi;
|
||||
data->ctx->handle = data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue