spmi/pmic: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc
authorJiang Liu <jiang.liu@linux.intel.com>
Mon, 13 Jul 2015 20:52:25 +0000 (20:52 +0000)
committerIngo Molnar <mingo@kernel.org>
Wed, 29 Jul 2015 08:08:10 +0000 (10:08 +0200)
commit7fe88f3c00e7bfa44421681640fab3a9fadfef3b
tree846d367c6cb1606ee9c0e9a181500a8713f8616b
parentfb68ba6d0b06cf287e9081d60f705501c52124f6
spmi/pmic: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc

Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc while we
already have a pointer to corresponding irq_desc.

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: http://lkml.kernel.org/r/20150713151750.915477120@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/spmi/spmi-pmic-arb.c