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>
Sat, 24 Mar 2012 02:57:08 +0000 (19:57 -0700)
commit9db64b0f7aa8106455a65a6582a620fde90ec149
tree743b106f208413b0694ff4c076371ea0cdc49f2e
parent85213f184a60c8a24179e34841112d116af9fcf9
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