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
|
@ -20,7 +20,7 @@ extern "C" {
|
|||
#define MPXXDTYY_MAX_PDM_FREQ 3250000 /* 3.25MHz */
|
||||
|
||||
#define DEV_CFG(dev) \
|
||||
((const struct mpxxdtyy_config *const)(dev)->config_info)
|
||||
((const struct mpxxdtyy_config *const)(dev)->config)
|
||||
#define DEV_DATA(dev) \
|
||||
((struct mpxxdtyy_data *const)(dev)->driver_data)
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ static struct codec_driver_config codec_device_config = {
|
|||
static struct codec_driver_data codec_device_data;
|
||||
|
||||
#define DEV_CFG(dev) \
|
||||
((struct codec_driver_config *const)(dev)->config_info)
|
||||
((struct codec_driver_config *const)(dev)->config)
|
||||
#define DEV_DATA(dev) \
|
||||
((struct codec_driver_data *const)(dev)->driver_data)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue