rtc: tps80031: register as mfd sub device
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 1 Aug 2012 10:55:25 +0000 (15:55 +0530)
committerLokesh Pathak <lpathak@nvidia.com>
Tue, 7 Aug 2012 15:44:53 +0000 (08:44 -0700)
commit0bf836b37cef4345629ecd8efb1a3e7f30628525
tree792eaa5fc19070144aa8bc5a239c02f00feeeb9c
parentfd4bc846766e336ab02abcae9d6cde5912a4d8a8
rtc: tps80031: register as mfd sub device

register RTC driver of TPS80031 as mfd sub
driver in place of adding it as a sub devices.
This is inline with the mfd driver policy.

Change-Id: I2f9c13478a1e85c9670dd7bc576ec761f2e24733
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/121133
Reviewed-by: Automatic_Commit_Validation_User
arch/arm/mach-tegra/board-enterprise-power.c
drivers/mfd/tps80031.c
drivers/rtc/rtc-tps80031.c
include/linux/mfd/tps80031.h