mfd: tps80031: add subdevs through mfd_add_devices()
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 26 Jul 2012 11:06:17 +0000 (16:06 +0530)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Tue, 31 Jul 2012 10:42:04 +0000 (03:42 -0700)
commit0158c77a8bede54da353a2069b5c4bf71c078c3a
tree89305e12ad81d4b1a12c3c4e968fc7a6fc1060f9
parent2bd2f90abcaf21b130beb3b5310d74664f21a5d5
mfd: tps80031: add subdevs through mfd_add_devices()

Add provision to register sub devices through mfd sub
devices. This will help to move all sub devices as
mfd subdevices.

Change-Id: Ibc9f56a210d852749cdc3be7da92d54aad298a21
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/118957
drivers/mfd/tps80031.c