]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc
authorJiang Liu <jiang.liu@linux.intel.com>
Mon, 13 Jul 2015 20:44:56 +0000 (20:44 +0000)
committerLee Jones <lee.jones@linaro.org>
Tue, 11 Aug 2015 14:09:06 +0000 (15:09 +0100)
commit3476cf8b56d3658907067907c936d7103724216f
tree67f985987b744362b781cfab26e97f9d9a64fd13
parent5d6768a1ae150b8f2674792e81694464d0ac3434
mfd: 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.

Do the same change to avoid the pattern "irq_get_chip_data(data->irq)".

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ezx-pcap.c
drivers/mfd/max8997-irq.c
drivers/mfd/mt6397-core.c
drivers/mfd/t7l66xb.c
drivers/mfd/tc6393xb.c
drivers/mfd/twl6030-irq.c