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
|
@ -83,7 +83,7 @@ static void iis2dh_handle_interrupt(void *arg)
|
|||
{
|
||||
struct device *dev = (struct device *)arg;
|
||||
struct iis2dh_data *iis2dh = dev->driver_data;
|
||||
const struct iis2dh_device_config *cfg = dev->config_info;
|
||||
const struct iis2dh_device_config *cfg = dev->config;
|
||||
|
||||
iis2dh_handle_drdy_int(dev);
|
||||
|
||||
|
@ -139,7 +139,7 @@ static void iis2dh_work_cb(struct k_work *work)
|
|||
int iis2dh_init_interrupt(struct device *dev)
|
||||
{
|
||||
struct iis2dh_data *iis2dh = dev->driver_data;
|
||||
const struct iis2dh_device_config *cfg = dev->config_info;
|
||||
const struct iis2dh_device_config *cfg = dev->config;
|
||||
int ret;
|
||||
|
||||
/* setup data ready gpio interrupt */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue