mfd: palmas: register module specific mfd cells
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 26 Jun 2013 14:39:33 +0000 (19:39 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:27:46 +0000 (13:27 -0700)
commit20a4ed3aadb248e170df8d2c17026fba8e48eac4
tree07b4eb7222cb01083eec6009e74b6409cf6b0b68
parent03883c3bfb80dbea3eeb4cd40467dccaf479a7b8
mfd: palmas: register module specific mfd cells

In palce of registering all the mfd cells of palmas for all
palma devices like TPS65913, TPS80036, register only those
mfd cells which are available on that device.

This will avoid the false subdevice registration and unwanted
warning due to interrupt not found.

Change-Id: Ic4e3e3cb77b1421c46a0b13874592ffd68731e47
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/242465
drivers/mfd/palmas.c
include/linux/mfd/palmas.h