mfd: palmas: Reset pm_power_off if it is set for the device
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 26 Sep 2013 13:33:50 +0000 (19:03 +0530)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Oct 2013 15:21:36 +0000 (16:21 +0100)
commit7178347e1c675aefefce09357c988db0a9bf6e96
treed645734b47ea155892ea627253552b8daef20610
parent2d8edaf028ad2bc71c07c7338bfb0ef7cb46e78d
mfd: palmas: Reset pm_power_off if it is set for the device

If Palams supports the system power controller and pm_power_off
is implemented through the Palmas driver then reset the pm_power_off
in driver remove.

This will avoid the call of Palmas driver after removal of driver.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/palmas.c