android_kernel_xiaomi_sm8350/drivers
Akinobu Mita 5eb5fc97d8 [PATCH] cm4000_cs: fix return value check
The return value of class_create() need to be checked with IS_ERR().
And register_chrdev() returns errno on failure.
This patch includes these fixes for cm4000_cs and cm4040_cs.

Signed-off-by: Akinbou Mita <akinobu.mita@gmail.com>
Signed-off-by: Harald Welte <laforge@gnumonks.org>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
2006-12-04 20:09:13 -05:00
..
acorn
acpi [PATCH] severing fs.h, radix-tree.h -> sched.h 2006-12-04 02:00:24 -05:00
amba
ata [PATCH] pcmcia: yet another IDE ID 2006-12-04 20:09:11 -05:00
atm [ATM] ambassador,firestream: "-1 >>" is implementation defined 2006-12-02 21:22:25 -08:00
base [PATCH] severing module.h->sched.h 2006-12-04 02:00:22 -05:00
block
bluetooth
cdrom
char [PATCH] cm4000_cs: fix return value check 2006-12-04 20:09:13 -05:00
clocksource
connector
cpufreq
crypto
dio
dma
edac
eisa
fc4
firmware
hwmon [PATCH] severing fs.h, radix-tree.h -> sched.h 2006-12-04 02:00:24 -05:00
i2c
ide [PATCH] pcmcia: yet another IDE ID 2006-12-04 20:09:11 -05:00
ieee1394
infiniband [PATCH] severing skbuff.h -> highmem.h 2006-12-04 02:00:29 -05:00
input
isdn [PATCH] severing skbuff.h -> mm.h 2006-12-04 02:00:34 -05:00
leds [PATCH] severing module.h->sched.h 2006-12-04 02:00:22 -05:00
macintosh
mca
md
media [PATCH] severing poll.h -> mm.h 2006-12-04 02:00:36 -05:00
message
mfd
misc
mmc Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/drzeus/mmc 2006-12-02 08:29:04 -08:00
mtd
net Merge branch 'for-linus4' of master.kernel.org:/pub/scm/linux/kernel/git/viro/bird 2006-12-04 10:37:06 -08:00
nubus
oprofile
parisc
parport
pci [PATCH] severing module.h->sched.h 2006-12-04 02:00:22 -05:00
pcmcia
pnp
rapidio
rtc
s390 [S390] cio: Use device_reprobe() instead of bus_rescan_devices(). 2006-12-04 15:41:07 +01:00
sbus
scsi [PATCH] severing module.h->sched.h 2006-12-04 02:00:22 -05:00
serial
sh
sn
spi [PATCH] severing fs.h, radix-tree.h -> sched.h 2006-12-04 02:00:24 -05:00
tc
telephony
usb
video
w1 [PATCH] severing module.h->sched.h 2006-12-04 02:00:22 -05:00
zorro
Kconfig
Makefile