refactor(app): replace config_info with config
See: https://docs.zephyrproject.org/latest/releases/release-notes-2.4.html PR: #467
This commit is contained in:
parent
090b5d4c13
commit
3d7376d2e5
11 changed files with 23 additions and 23 deletions
|
|
@ -74,7 +74,7 @@ struct kscan_gpio_item_config {
|
|||
} \
|
||||
\
|
||||
static const struct kscan_gpio_item_config *kscan_gpio_input_configs_##n(struct device *dev) { \
|
||||
const struct kscan_gpio_config_##n *cfg = dev->config_info; \
|
||||
const struct kscan_gpio_config_##n *cfg = dev->config; \
|
||||
return cfg->rows; \
|
||||
} \
|
||||
\
|
||||
|
|
@ -86,7 +86,7 @@ struct kscan_gpio_item_config {
|
|||
\
|
||||
static const struct kscan_gpio_item_config *kscan_gpio_output_configs_##n( \
|
||||
struct device *dev) { \
|
||||
const struct kscan_gpio_config_##n *cfg = dev->config_info; \
|
||||
const struct kscan_gpio_config_##n *cfg = dev->config; \
|
||||
/* If row2col, rows = outputs & cols = inputs */ \
|
||||
return cfg->cols; \
|
||||
} \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue