aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-08-24 01:45:49 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2010-10-28 18:28:58 -0400
commit09ff21e0f670a71ea43765cedaab9246fd81540e (patch)
tree01b470a4d2d5849fcf8cee5175fcb946bd40c065 /fs/proc
parentb59cedeffaef54dd091baf01fd5e276ac50a3176 (diff)
mfd: Fix pcap_add_subdev 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> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'fs/proc')
0 files changed, 0 insertions, 0 deletions