summaryrefslogtreecommitdiff
path: root/drivers/power/reset/ltc2952-poweroff.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2014-09-04 17:31:36 +0530
committerSebastian Reichel <sre@kernel.org>2014-09-16 11:01:38 +0200
commit7195c505c2e8e2dd372f7b1737f2a788e74889fb (patch)
tree44484e99a487b039929336af33d31ca086c6d5c0 /drivers/power/reset/ltc2952-poweroff.c
parent464069cae95f71ba670c7e3a90d919b18fb48d66 (diff)
power_supply: Don't iterate over devices to return -EPROBE_DEFER
This piece of code was added so that we return -EPROBE_DEFER when no devices are registered. But even if class_for_each_device() returns 0, we are going to return -EPROBE_DEFER only. And so this code isn't required at all. Remove it. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/reset/ltc2952-poweroff.c')
0 files changed, 0 insertions, 0 deletions