aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2010-08-24 13:45:49 +0800
committerSamuel Ortiz <[email protected]>2010-10-29 00:28:58 +0200
commit09ff21e0f670a71ea43765cedaab9246fd81540e (patch)
tree01b470a4d2d5849fcf8cee5175fcb946bd40c065 /include
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 <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions