mfd: ab8500-core: Add Interrupt support for ab8540
authorLee Jones <lee.jones@linaro.org>
Mon, 25 Feb 2013 14:57:35 +0000 (14:57 +0000)
committerLee Jones <lee.jones@linaro.org>
Thu, 7 Mar 2013 04:27:47 +0000 (12:27 +0800)
commit3e1a498f2728476535571d270081a17fdfceaf26
tree98666d5be9dd27fb05d65842d5dc4f860bdf22b1
parent4b106fb9895c7edba2acd41c152e8f6edf724651
mfd: ab8500-core: Add Interrupt support for ab8540

ITSource/ITLatch 7, 8, 9 and 10 don't exist on AB8540. This patch
replaces them with '-1' in the interrupt list, and handles the '-1'
in the code accordingly.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ab8500-core.c
include/linux/mfd/abx500/ab8500.h