spmi: pmic-arb: revert "validate type when mapping IRQ"
authorBrian Masney <masneyb@onstation.org>
Fri, 8 Feb 2019 12:36:35 +0000 (07:36 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 9 Feb 2019 10:33:38 +0000 (11:33 +0100)
commit25655c7532c73c6e2ea9fa40134129c5d54b71a7
treeb0e2c99b7731b9d933ac17ef9d183052c3cd2a8e
parent5d643edad73e839575f854c68782eecdfaf34c1e
spmi: pmic-arb: revert "validate type when mapping IRQ"

Validation of the IRQ type was added to spmi pmic-arb, however spmi-mpp
in device tree still uses IRQ_TYPE_NONE. This commit caused the
spmi-mpp probe to fail since platform_irq_count() would return 0.
Correct this by backing out the previous patch.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Fixes: 135ef21ab064 ("spmi: pmic-arb: validate type when mapping IRQ")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/spmi/spmi-pmic-arb.c