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:
Patrik Flykt 2019-03-12 15:15:42 -06:00 committed by Anas Nashif
commit 97b3bd11a7
110 changed files with 544 additions and 544 deletions

View file

@ -129,7 +129,7 @@ static u32_t elapsed(void)
*
* @return N/A
*/
static void _timer_int_handler(void *unused)
static void timer_int_handler(void *unused)
{
ARG_UNUSED(unused);
u32_t dticks;
@ -164,7 +164,7 @@ int z_clock_driver_init(struct device *device)
last_load = CYC_PER_TICK;
IRQ_CONNECT(IRQ_TIMER0, CONFIG_ARCV2_TIMER_IRQ_PRIORITY,
_timer_int_handler, NULL, 0);
timer_int_handler, NULL, 0);
timer0_limit_register_set(last_load - 1);
#ifdef CONFIG_BOOT_TIME_MEASUREMENT