mfd: Simplify IRQ domain registration code in STMPE
authorLee Jones <lee.jones@linaro.org>
Fri, 23 Nov 2012 15:19:29 +0000 (15:19 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 26 Nov 2012 11:11:21 +0000 (12:11 +0100)
commitb20a43715e675815d0a426f05a7607ba099136aa
tree84dce3b2e8cb8ffa127406fd7a603692667b6b46
parent3f9be35bd9090eaa2f68ed9b24efdbf3abcf4b28
mfd: Simplify IRQ domain registration code in STMPE

Historically, a driver would have to decide whether it required
a Linear or Legacy IRQ domain when registering one. This can end
up as quite a lot of code. A new Simple call now exists which
simplifies this process. Let's make use of it here.

Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/stmpe.c