genirq: __irq_set_trigger: change pr_warning to pr_debug
authorMark Nelson <markn@au1.ibm.com>
Thu, 13 Nov 2008 10:37:41 +0000 (21:37 +1100)
committerIngo Molnar <mingo@elte.hu>
Thu, 13 Nov 2008 10:59:48 +0000 (11:59 +0100)
commit3ff68a6a106c362a6811d3e51bced58e6fc87de7
tree9a0a10ff49f7453d26afcced211307c818fd9fa9
parentf131e2436ddbac2527bb2d6297a823aae4b024f8
genirq: __irq_set_trigger: change pr_warning to pr_debug

Commit 0c5d1eb77a8be917b638344a22afe1398236482b (genirq: record trigger
type) caused powerpc platforms that had no set_type() function in their
struct irq_chip to spew out warnings about "No set_type function for
IRQ...". This warning isn't necessarily justified though because the
generic powerpc platform code calls set_irq_type() (which in turn calls
__irq_set_trigger) with information from the device tree to establish
the interrupt mappings, regardless of whether the PIC can actually set
a type.

A platform's irq_chip might not have a set_type function for a variety
of reasons, for example: the platform may have the type essentially
hard-coded, or as in the case for Cell interrupts are just messages
past around that have no real concept of type, or the platform
could even have a virtual PIC as on the PS3.

Signed-off-by: Mark Nelson <markn@au1.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/irq/manage.c