From: Charles Keepax Date: Tue, 15 Jul 2014 10:21:50 +0000 (+0100) Subject: mfd: arizona: Only free the CTRLIF_ERR IRQ if we requested it X-Git-Tag: omap-for-v3.17/fixes-against-rc2~129^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30a2af3a320d5c0598cde08ba6e5d22a724f82e4;p=pandora-kernel.git mfd: arizona: Only free the CTRLIF_ERR IRQ if we requested it We only request the control interface error IRQ if we set ctrlif_error, as such we should only free it in that situation. Otherwise we will attempt to free an IRQ we never requested and get a warning from the IRQ core. This patch moves the ctrlif_error variable into the arizona structure and checks it in all cases we free the control interface error IRQ. Signed-off-by: Charles Keepax Signed-off-by: Lee Jones --- Reading git-diff-tree failed