device: Apply config_info rename everywhere
Via coccinelle: @r_device_config@ struct device *D; @@ D-> - config_info + config And 2 grep/sed rules for macros: git grep -rlz 'dev)->config_info' | xargs -0 sed -i 's/dev)->config_info/dev)->config/g' git grep -rlz 'dev->config_info' | xargs -0 sed -i 's/dev->config_info/dev->config/g' Fixes #27397 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
a46b4a9921
commit
af6140cc0d
324 changed files with 1048 additions and 1071 deletions
|
@ -58,7 +58,7 @@ struct pll_cfg {
|
|||
#define DPORT_CPUPERIOD_SEL_160 1
|
||||
#define DPORT_CPUPERIOD_SEL_240 2
|
||||
|
||||
#define DEV_CFG(dev) ((struct esp32_clock_config *)(dev->config_info))
|
||||
#define DEV_CFG(dev) ((struct esp32_clock_config *)(dev->config))
|
||||
#define GET_REG_BANK(module_id) ((uint32_t)module_id / 32U)
|
||||
#define GET_REG_OFFSET(module_id) ((uint32_t)module_id % 32U)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue