ARM: tegra: cardhu: pass ac present interrupt and gpio to bq27x00
authorPritesh Raithatha <praithatha@nvidia.com>
Sat, 4 Jun 2011 13:33:16 +0000 (18:33 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:45:55 +0000 (21:45 -0800)
commitc19b8f176c9f8de3fb229f30c2b064d17557a3ee
treec0c6b368e348deed66c8ec9856749246ff26dd66
parent7dd2e9d4ba5fd1c997b4338b82e1abd8ae4db512
ARM: tegra: cardhu: pass ac present interrupt and gpio to bq27x00

-Define AC_PRESENT_INT
-Assign AC_PRESENT_INT to .irq of battery driver bq27x00
-Pass AC_PRESENT_GPIO to bq27x00 throught plarform data

Original-Change-Id: Ic493cc4be5ef38a75f026cfd7082315563a07214
Reviewed-on: http://git-master/r/32620
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Tested-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rbfe05a3a86c1c54e0c0dadf3640a1814b4b782f0
arch/arm/mach-tegra/board-cardhu-sensors.c
arch/arm/mach-tegra/board-cardhu.h