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
|
@ -47,7 +47,7 @@ static inline struct spi_cc13xx_cc26xx_data *get_dev_data(struct device *dev)
|
|||
static inline const struct spi_cc13xx_cc26xx_config *
|
||||
get_dev_config(struct device *dev)
|
||||
{
|
||||
return dev->config->config_info;
|
||||
return dev->config_info;
|
||||
}
|
||||
|
||||
static int spi_cc13xx_cc26xx_configure(struct device *dev,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue