mfd: palmas: Remove redundant check in palmas_power_off
authorKeerthy <j-keerthy@ti.com>
Thu, 10 Nov 2016 05:09:17 +0000 (10:39 +0530)
committerLee Jones <lee.jones@linaro.org>
Tue, 29 Nov 2016 08:21:38 +0000 (08:21 +0000)
commit445c93093d7f28a0a07fd10f0d7a8aada4e1932e
treeb5c452e25a75d4e58ffced18f9b0287747e6e405
parentfb36f77efec7c4371a8be0c73424fa2bf841e3b2
mfd: palmas: Remove redundant check in palmas_power_off

palmas_dev and palmas_power_off are always assigned together.
So the check for palmas_dev inside palmas_power_off function
is redundant. Removing the same.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/palmas.c