From: Linus Walleij Date: Thu, 20 Dec 2012 09:20:15 +0000 (+0100) Subject: mfd: db8500-prcmu: Fix irqdomain usage X-Git-Tag: v3.8-rc6~19^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89d9b1c99374997d68910ba49d5b7df80e7f2061;p=pandora-kernel.git mfd: db8500-prcmu: Fix irqdomain usage This fixes two issues with the DB8500 PRCMU irqdomain: - You have to state the irq base 0 to get a linear domain for the DT case from irq_domain_add_simple() - The irqdomain was not used to translate the initial irq request using irq_create_mapping() making the linear case fail as it was lacking a proper descriptor. I took this opportunity to fix two lines of whitespace errors in related code as I was anyway messing around with it. Cc: stable@kernel.org Acked-by Lee Jones Signed-off-by: Linus Walleij Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed