aboutsummaryrefslogtreecommitdiff
path: root/kernel/res_counter.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-08-24 13:45:49 +0800
committerSamuel Ortiz <sameo@linux.intel.com>2010-10-29 00:28:58 +0200
commit09ff21e0f670a71ea43765cedaab9246fd81540e (patch)
tree01b470a4d2d5849fcf8cee5175fcb946bd40c065 /kernel/res_counter.c
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 'kernel/res_counter.c')
0 files changed, 0 insertions, 0 deletions