drivers: Rename reserved function names
Rename reserved function names in drivers/ subdirectory. Update function macros concatenatenating function names with '##'. As there is a conflict between the existing gpio_sch_manage_callback() and _gpio_sch_manage_callback() names, leave the latter unmodified. Signed-off-by: Patrik Flykt <patrik.flykt@intel.com>
This commit is contained in:
parent
14db4eedff
commit
97b3bd11a7
110 changed files with 544 additions and 544 deletions
|
@ -193,7 +193,7 @@ static void gpio_sam_isr(void *arg)
|
|||
|
||||
int_stat = pio->PIO_ISR;
|
||||
|
||||
_gpio_fire_callbacks(&context->cb, dev, int_stat);
|
||||
gpio_fire_callbacks(&context->cb, dev, int_stat);
|
||||
}
|
||||
|
||||
static int gpio_sam_manage_callback(struct device *port,
|
||||
|
@ -202,7 +202,7 @@ static int gpio_sam_manage_callback(struct device *port,
|
|||
{
|
||||
struct gpio_sam_runtime *context = port->driver_data;
|
||||
|
||||
return _gpio_manage_callback(&context->cb, callback, set);
|
||||
return gpio_manage_callback(&context->cb, callback, set);
|
||||
}
|
||||
|
||||
static int gpio_sam_enable_callback(struct device *port,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue