irq: Kill pointless irqd_to_hw export
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 3 Apr 2012 13:11:04 +0000 (07:11 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 11 Apr 2012 04:39:17 +0000 (22:39 -0600)
commita699e4e49ec3fb62c4a44394357d14081df10bef
tree4a64e6fd8bc6a71fe7212a69f552f4aef3bd473c
parent5b7526e3a640e491075557acaa842c59c652c0c3
irq: Kill pointless irqd_to_hw export

It makes no sense to export this trivial function.  Make it a static inline
instead.

This patch also drops virq_to_hw from arch/c6x since it is unused by that
architecture.

v2: Move irq_hw_number_t into types.h to fix ARM build failure

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/c6x/include/asm/irq.h
arch/c6x/kernel/irq.c
arch/powerpc/include/asm/irq.h
arch/powerpc/kernel/irq.c
include/linux/irq.h
include/linux/irqdomain.h
include/linux/types.h