mfd: arizona: Use irq_find_mapping when appropriate
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Fri, 28 Oct 2016 10:32:53 +0000 (11:32 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 29 Nov 2016 08:21:28 +0000 (08:21 +0000)
commitd34bffb5c5b4c370890f78c882136fe4711e9730
tree2641d2362959aa5c1a90af629c4b4e06d9976e1c
parent202b56890aead063f90b6995554d4602dbd7752e
mfd: arizona: Use irq_find_mapping when appropriate

No need to use irq_create_mapping (although there is no issue with
doing so) when we are only looking up an existing mapping. Just to
streamline things a little and make the code a little more clear
change some calls from irq_create_mapping to irq_find_mapping.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/arizona-irq.c