summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-08-24 07:47:22 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2010-10-29 00:28:59 +0200
commit929980ab1b90b5a5c93db9b9b7d58cc6e93049c8 (patch)
tree99eeed3baf78f5ec197efa124ab0df82a4ae70d6 /sound
parentmfd: Fix pcap_add_subdev error path (diff)
downloadlinux-929980ab1b90b5a5c93db9b9b7d58cc6e93049c8.tar.xz
linux-929980ab1b90b5a5c93db9b9b7d58cc6e93049c8.zip
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 'sound')
0 files changed, 0 insertions, 0 deletions