drivers: sensor: add wurth elektronik sensor drivers #144904
compliance.yml
on: pull_request
Run compliance checks on patch series (PR)
2m 36s
Annotations
1 error, 1 warning, and 4 notices
Run compliance checks on patch series (PR)
Process completed with exit code 1.
|
Run compliance checks on patch series (PR):
ClangFormat.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
You may want to run clang-format on this change:
- { \
- .bus_cfg = \
- { \
- .spi = SPI_DT_SPEC_INST_GET(inst, \
- HIDS_2525020210001_SPI_OPERATION, 0), \
- }, \
- HIDS_2525020210001_CONFIG_COMMON(inst) \
- }
+ {.bus_cfg = \
+ { \
+ .spi = SPI_DT_SPEC_INST_GET(inst, HIDS_2525020210001_SPI_OPERATION, 0), \
+ }, \
+ HIDS_2525020210001_CONFIG_COMMON(inst)}
/*
* Instantiation macros used when device is on I2C bus.
*/
#define HIDS_2525020210001_CONFIG_I2C(inst) \
- { \
- .bus_cfg = \
- { \
- .i2c = I2C_DT_SPEC_INST_GET(inst), \
- }, \
- HIDS_2525020210001_CONFIG_COMMON(inst) \
- }
+ {.bus_cfg = \
+ { \
+ .i2c = I2C_DT_SPEC_INST_GET(inst), \
+ }, \
+ HIDS_2525020210001_CONFIG_COMMON(inst)}
File:drivers/sensor/wsen/wsen_hids_2525020210001/wsen_hids_2525020210001.c
Line:259
You may want to run clang-format on this change:
- { \
- .bus_cfg = \
- { \
- .spi = SPI_DT_SPEC_INST_GET(inst, \
- ISDS_2536030320001_SPI_OPERATION, 0), \
- }, \
- ISDS_2536030320001_CONFIG_COMMON(inst) \
- }
+ {.bus_cfg = \
+ { \
+ .spi = SPI_DT_SPEC_INST_GET(inst, ISDS_2536030320001_SPI_OPERATION, 0), \
+ }, \
+ ISDS_2536030320001_CONFIG_COMMON(inst)}
/*
* Instantiation macros used when device is on I2C bus.
*/
#define ISDS_2536030320001_CONFIG_I2C(inst) \
- { \
- .bus_cfg = \
- { \
- .i2c = I2C_DT_SPEC_INST_GET(inst), \
- }, \
- ISDS_2536030320001_CONFIG_COMMON(inst) \
- }
+ {.bus_cfg = \
+ {
|
You may want to run clang-format on this change:
drivers/sensor/wsen/wsen_hids_2525020210001/wsen_hids_2525020210001.c#L259
drivers/sensor/wsen/wsen_hids_2525020210001/wsen_hids_2525020210001.c:259
- { \
- .bus_cfg = \
- { \
- .spi = SPI_DT_SPEC_INST_GET(inst, \
- HIDS_2525020210001_SPI_OPERATION, 0), \
- }, \
- HIDS_2525020210001_CONFIG_COMMON(inst) \
- }
+ {.bus_cfg = \
+ { \
+ .spi = SPI_DT_SPEC_INST_GET(inst, HIDS_2525020210001_SPI_OPERATION, 0), \
+ }, \
+ HIDS_2525020210001_CONFIG_COMMON(inst)}
/*
* Instantiation macros used when device is on I2C bus.
*/
#define HIDS_2525020210001_CONFIG_I2C(inst) \
- { \
- .bus_cfg = \
- { \
- .i2c = I2C_DT_SPEC_INST_GET(inst), \
- }, \
- HIDS_2525020210001_CONFIG_COMMON(inst) \
- }
+ {.bus_cfg = \
+ { \
+ .i2c = I2C_DT_SPEC_INST_GET(inst), \
+ }, \
+ HIDS_2525020210001_CONFIG_COMMON(inst)}
|
You may want to run clang-format on this change:
drivers/sensor/wsen/wsen_isds_2536030320001/wsen_isds_2536030320001.c#L912
drivers/sensor/wsen/wsen_isds_2536030320001/wsen_isds_2536030320001.c:912
- { \
- .bus_cfg = \
- { \
- .spi = SPI_DT_SPEC_INST_GET(inst, \
- ISDS_2536030320001_SPI_OPERATION, 0), \
- }, \
- ISDS_2536030320001_CONFIG_COMMON(inst) \
- }
+ {.bus_cfg = \
+ { \
+ .spi = SPI_DT_SPEC_INST_GET(inst, ISDS_2536030320001_SPI_OPERATION, 0), \
+ }, \
+ ISDS_2536030320001_CONFIG_COMMON(inst)}
/*
* Instantiation macros used when device is on I2C bus.
*/
#define ISDS_2536030320001_CONFIG_I2C(inst) \
- { \
- .bus_cfg = \
- { \
- .i2c = I2C_DT_SPEC_INST_GET(inst), \
- }, \
- ISDS_2536030320001_CONFIG_COMMON(inst) \
- }
+ {.bus_cfg = \
+ { \
+ .i2c = I2C_DT_SPEC_INST_GET(inst), \
+ }, \
+ ISDS_2536030320001_CONFIG_COMMON(inst)}
|
You may want to run clang-format on this change:
drivers/sensor/wsen/wsen_itds_2533020201601/wsen_itds_2533020201601.c#L685
drivers/sensor/wsen/wsen_itds_2533020201601/wsen_itds_2533020201601.c:685
- { \
- .bus_cfg = \
- { \
- .spi = SPI_DT_SPEC_INST_GET(inst, \
- ITDS_2533020201601_SPI_OPERATION, 0), \
- }, \
- ITDS_2533020201601_CONFIG_COMMON(inst) \
- }
+ {.bus_cfg = \
+ { \
+ .spi = SPI_DT_SPEC_INST_GET(inst, ITDS_2533020201601_SPI_OPERATION, 0), \
+ }, \
+ ITDS_2533020201601_CONFIG_COMMON(inst)}
/*
* Instantiation macros used when device is on I2C bus.
*/
#define ITDS_2533020201601_CONFIG_I2C(inst) \
- { \
- .bus_cfg = \
- { \
- .i2c = I2C_DT_SPEC_INST_GET(inst), \
- }, \
- ITDS_2533020201601_CONFIG_COMMON(inst) \
- }
+ {.bus_cfg = \
+ { \
+ .i2c = I2C_DT_SPEC_INST_GET(inst), \
+ }, \
+ ITDS_2533020201601_CONFIG_COMMON(inst)}
|
You may want to run clang-format on this change:
drivers/sensor/wsen/wsen_pads_2511020213301/wsen_pads_2511020213301.c#L505
drivers/sensor/wsen/wsen_pads_2511020213301/wsen_pads_2511020213301.c:505
- { \
- .bus_cfg = \
- { \
- .spi = SPI_DT_SPEC_INST_GET(inst, \
- PADS_2511020213301_SPI_OPERATION, 0), \
- }, \
- PADS_2511020213301_CONFIG_COMMON(inst) \
- }
+ {.bus_cfg = \
+ { \
+ .spi = SPI_DT_SPEC_INST_GET(inst, PADS_2511020213301_SPI_OPERATION, 0), \
+ }, \
+ PADS_2511020213301_CONFIG_COMMON(inst)}
/*
* Instantiation macros used when device is on I2C bus.
*/
#define PADS_2511020213301_CONFIG_I2C(inst) \
- { \
- .bus_cfg = \
- { \
- .i2c = I2C_DT_SPEC_INST_GET(inst), \
- }, \
- PADS_2511020213301_CONFIG_COMMON(inst) \
- }
+ {.bus_cfg = \
+ { \
+ .i2c = I2C_DT_SPEC_INST_GET(inst), \
+ }, \
+ PADS_2511020213301_CONFIG_COMMON(inst)}
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
compliance.xml
Expired
|
1.21 KB |
|