OSDN Git Service

mfd: tps65090: Pass irq domain when adding mfd sub devices
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 29 Jan 2013 09:05:17 +0000 (14:35 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 13 Feb 2013 23:22:55 +0000 (00:22 +0100)
commit4f979ed5e2656570f433101bfc5bc116a919316b
treee01da1d5b7b20d9224c8c46b0e78202b16ddb23c
parent40719314f259ab9409ca3d48551c17aa23bc2b4d
mfd: tps65090: Pass irq domain when adding mfd sub devices

When device is get added through DT then irq_base is 0 (zero)
and in this case regmap_irq_chip_get_base() generates warning.
The interrupt of this device get added through irq_domain_add_linear()
when irq_base is 0.

Hence pass the irq domain in place of base_irq when calling
mfd_add_devices().

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/tps65090.c