device: Fix structure attributes access
Since struct devconfig was merged earlier into struct device, let's fix accessing config_info, name, ... attributes everywhere via: grep -rlZ 'dev->config->' | xargs -0 sed -i 's/dev->config->/dev->/g' Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
8d7bb8ffd8
commit
97326c0445
348 changed files with 1155 additions and 1174 deletions
|
@ -46,7 +46,7 @@ struct rv32m1_intmux_config {
|
|||
};
|
||||
|
||||
#define DEV_CFG(dev) \
|
||||
((struct rv32m1_intmux_config *)(dev->config->config_info))
|
||||
((struct rv32m1_intmux_config *)(dev->config_info))
|
||||
|
||||
#define DEV_REGS(dev) (DEV_CFG(dev)->regs)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue