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
|
@ -649,7 +649,7 @@ static void ppp_isr_cb_work(struct k_work *work)
|
|||
|
||||
/* This will print too much data, enable only if really needed */
|
||||
if (0) {
|
||||
LOG_HEXDUMP_DBG(data, len, ppp->dev->config->name);
|
||||
LOG_HEXDUMP_DBG(data, len, ppp->dev->name);
|
||||
}
|
||||
|
||||
tmp = len;
|
||||
|
@ -826,7 +826,7 @@ static int ppp_start(struct device *dev)
|
|||
return -ENOENT;
|
||||
}
|
||||
|
||||
dev_name = mux->config->name;
|
||||
dev_name = mux->name;
|
||||
#elif IS_ENABLED(CONFIG_MODEM_GSM_PPP)
|
||||
dev_name = CONFIG_MODEM_GSM_UART_NAME;
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue