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
|
@ -19,7 +19,7 @@
|
|||
#define CLOCK_LEUART(id) CLOCK_ID_PRFX(LEUART_PREFIX, id)
|
||||
|
||||
#define DEV_CFG(dev) \
|
||||
((const struct leuart_gecko_config * const)(dev)->config->config_info)
|
||||
((const struct leuart_gecko_config * const)(dev)->config_info)
|
||||
#define DEV_DATA(dev) \
|
||||
((struct leuart_gecko_data * const)(dev)->driver_data)
|
||||
#define DEV_BASE(dev) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue