diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-08-24 09:45:49 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-10-29 02:28:58 +0400 |
commit | 09ff21e0f670a71ea43765cedaab9246fd81540e (patch) | |
tree | 01b470a4d2d5849fcf8cee5175fcb946bd40c065 /MAINTAINERS | |
parent | b59cedeffaef54dd091baf01fd5e276ac50a3176 (diff) | |
download | linux-09ff21e0f670a71ea43765cedaab9246fd81540e.tar.xz |
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 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions