https://github.com/torvalds/linux
Revision 09ff21e0f670a71ea43765cedaab9246fd81540e authored by Axel Lin on 24 August 2010, 05:45:49 UTC, committed by Samuel Ortiz on 28 October 2010, 22:28:58 UTC
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>
1 parent b59cede
History
Tip revision: 09ff21e0f670a71ea43765cedaab9246fd81540e authored by Axel Lin on 24 August 2010, 05:45:49 UTC
mfd: Fix pcap_add_subdev error path
Tip revision: 09ff21e
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 177.4 KB
Makefile -rw-r--r-- 50.8 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top