mfd: sec: Fix reg_offset for interrupt registers
authorInderpal Singh <inderpal.singh@linaro.org>
Wed, 17 Oct 2012 06:18:55 +0000 (11:48 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 25 Nov 2012 23:35:08 +0000 (00:35 +0100)
reg_offset is offset of the status/mask registers. Now, since status_base
and mask_base are pointing to corresponding first registers, reg_offset
should start from 0 otheriwse regmap_add_irq_chip will fail during probe.

Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

No differences found