Re: [PATCH 23/35] ARM: davinci: cp-intc: use a common prefix for all symbols

From: Sekhar Nori
Date: Thu Feb 07 2019 - 08:44:09 EST


On 31/01/19 7:09 PM, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
>
> In preparation for moving the driver to drivers/irqchip do some
> cleanup: use a common prefix for all symbols.
>
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
> ---
> arch/arm/mach-davinci/cp_intc.c | 143 ++++++++++----------
> arch/arm/mach-davinci/da830.c | 2 +-
> arch/arm/mach-davinci/da850.c | 2 +-
> arch/arm/mach-davinci/include/mach/common.h | 2 +-
> 4 files changed, 77 insertions(+), 72 deletions(-)

> /* Enable interrupt */
> static void cp_intc_unmask_irq(struct irq_data *d)
> {
> - cp_intc_write(d->hwirq, CP_INTC_SYS_ENABLE_IDX_SET);
> + davinci_cp_intc_write(d->hwirq, DAVINCI_CP_INTC_SYS_ENABLE_IDX_SET);
> }

For consistency, can you please add davinci_ prefix to this function too?

Thanks,
Sekhar