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
|
@ -110,8 +110,8 @@ static int i2s_stm32_enable_clock(struct device *dev)
|
|||
#define PLLI2S_MAX_MS_TIME 1 /* PLLI2S lock time is 300us max */
|
||||
static u16_t plli2s_ms_count;
|
||||
|
||||
#define _pllr(v) LL_RCC_PLLI2SR_DIV_ ## v
|
||||
#define pllr(v) _pllr(v)
|
||||
#define z_pllr(v) LL_RCC_PLLI2SR_DIV_ ## v
|
||||
#define pllr(v) z_pllr(v)
|
||||
#endif
|
||||
|
||||
static int i2s_stm32_set_clock(struct device *dev, u32_t bit_clk_freq)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue