drivers/sensor: Clean unused axis structures
axis1bit16 and axis3bit16 unions are no longer used and can be deleted from all .h files that are referencing them. Signed-off-by: Armando Visconti <armando.visconti@st.com>
This commit is contained in:
parent
7f9e3af932
commit
098a5f51aa
6 changed files with 0 additions and 40 deletions
|
@ -17,11 +17,6 @@
|
|||
#include <drivers/sensor.h>
|
||||
#include "iis2dh_reg.h"
|
||||
|
||||
union axis3bit16_t {
|
||||
int16_t i16bit[3];
|
||||
uint8_t u8bit[6];
|
||||
};
|
||||
|
||||
/*
|
||||
* Return ODR reg value based on data rate set
|
||||
*/
|
||||
|
|
|
@ -19,11 +19,6 @@
|
|||
#include <sys/util.h>
|
||||
#include "iis3dhhc_reg.h"
|
||||
|
||||
union axis3bit16_t {
|
||||
int16_t i16bit[3];
|
||||
uint8_t u8bit[6];
|
||||
};
|
||||
|
||||
struct iis3dhhc_config {
|
||||
char *master_dev_name;
|
||||
int (*bus_init)(const struct device *dev);
|
||||
|
|
|
@ -18,16 +18,6 @@
|
|||
#include <sys/util.h>
|
||||
#include "ism330dhcx_reg.h"
|
||||
|
||||
union axis3bit16_t {
|
||||
int16_t i16bit[3];
|
||||
uint8_t u8bit[6];
|
||||
};
|
||||
|
||||
union axis1bit16_t {
|
||||
int16_t i16bit;
|
||||
uint8_t u8bit[2];
|
||||
};
|
||||
|
||||
#define ISM330DHCX_EN_BIT 0x01
|
||||
#define ISM330DHCX_DIS_BIT 0x00
|
||||
|
||||
|
|
|
@ -17,11 +17,6 @@
|
|||
#include <drivers/sensor.h>
|
||||
#include "lis2dw12_reg.h"
|
||||
|
||||
union axis3bit16_t {
|
||||
int16_t i16bit[3];
|
||||
uint8_t u8bit[6];
|
||||
};
|
||||
|
||||
#if defined(CONFIG_LIS2DW12_ODR_1_6)
|
||||
#define LIS2DW12_DEFAULT_ODR LIS2DW12_XL_ODR_1Hz6_LP_ONLY
|
||||
#elif defined(CONFIG_LIS2DW12_ODR_12_5)
|
||||
|
|
|
@ -20,16 +20,6 @@
|
|||
#include <sys/util.h>
|
||||
#include "lps22hh_reg.h"
|
||||
|
||||
union axis1bit32_t {
|
||||
int32_t i32bit;
|
||||
uint8_t u8bit[4];
|
||||
};
|
||||
|
||||
union axis1bit16_t {
|
||||
int16_t i16bit;
|
||||
uint8_t u8bit[2];
|
||||
};
|
||||
|
||||
struct lps22hh_config {
|
||||
char *master_dev_name;
|
||||
int (*bus_init)(const struct device *dev);
|
||||
|
|
|
@ -19,11 +19,6 @@
|
|||
#include <sys/util.h>
|
||||
#include "stts751_reg.h"
|
||||
|
||||
union axis1bit16_t {
|
||||
int16_t i16bit;
|
||||
uint8_t u8bit[2];
|
||||
};
|
||||
|
||||
struct stts751_config {
|
||||
char *master_dev_name;
|
||||
int (*bus_init)(const struct device *dev);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue