gpio: palmas: use palmas API for getting irq
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 12 Mar 2013 08:32:39 +0000 (13:32 +0530)
committerMandar Padmawar <mpadmawar@nvidia.com>
Thu, 14 Mar 2013 13:56:01 +0000 (06:56 -0700)
commit6fc336cce326023d27d5ce311f79480b990714f1
treeefc941fbf260cf3a0a288f992a06f82e49795d63
parent34e9e76622d4cb6288fcfffbb537382628855a86
gpio: palmas: use palmas API for getting irq

To get the irq number for given gpio, use the palmas API
palmas_irq_get_virq() in place of directly using regmap API.

Change-Id: I2305b6c6c852a914efd08c4e020dba4301bd83fc
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/208339
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
drivers/gpio/gpio-palmas.c