regmap: Don't try to map non-existant IRQs
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 5 Jun 2012 13:29:36 +0000 (14:29 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 5 Jun 2012 13:38:20 +0000 (14:38 +0100)
If the driver supplied an empty entry in the array of IRQs then return
an error rather than trying to do the mapping. This is intended for use
with handling chip variants and similar situations.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found