irqchip/sunxi-nmi: Use driver name instead of DT node name for identification
authorChen-Yu Tsai <wens@csie.org>
Mon, 5 Oct 2015 16:42:13 +0000 (00:42 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 9 Oct 2015 20:47:28 +0000 (22:47 +0200)
commit2d6caaed0997f335ce341703083c989c91ad76f4
treed9d1230651e3e7179474b926a22bcae7ae0107c3
parentfcf1ae2f7a044cda9956ec7afb487296afff058e
irqchip/sunxi-nmi: Use driver name instead of DT node name for identification

The device tree node name is typically "interrupt-controller", which is
rather useless when used in printk messages and irq chip names for
identification purposes. Use the driver name "sunxi-nmi" instead.

While at it move the identifier from pr_err() calls to the pr_fmt macro.

Also remove the "__func__" identifier from the error message in the
interrupt type setting callback, sunxi_sc_nmi_set_type(). The driver
name in the pr_fmt macro should be enough.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: http://lkml.kernel.org/r/1444063334-19832-2-git-send-email-wens@csie.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/irqchip/irq-sunxi-nmi.c