summaryrefslogtreecommitdiff
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-08-24 09:47:22 +0400
committerSamuel Ortiz <sameo@linux.intel.com>2010-10-29 02:28:59 +0400
commit929980ab1b90b5a5c93db9b9b7d58cc6e93049c8 (patch)
tree99eeed3baf78f5ec197efa124ab0df82a4ae70d6 /drivers/infiniband
parent09ff21e0f670a71ea43765cedaab9246fd81540e (diff)
downloadlinux-929980ab1b90b5a5c93db9b9b7d58cc6e93049c8.tar.xz
mfd: Fix tps6586x_add_subdevs error path
1. return -ENOMEM if platform_device_alloc() fail. 2. call platform_device_put() if platform_device_add() fail. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions