diff options
author | 2006-10-17 15:25:59 +0900 | |
---|---|---|
committer | 2006-12-04 20:09:13 -0500 | |
commit | 5eb5fc97d83ee1f8fcf3490bb81ad14a99fc544c (patch) | |
tree | f09779d3be8c51f57de1e2dbf6b2446d459e6085 /drivers/acpi/processor_perflib.c | |
parent | [PATCH] pcmcia: yet another IDE ID (diff) | |
download | linux-dev-5eb5fc97d83ee1f8fcf3490bb81ad14a99fc544c.tar.xz linux-dev-5eb5fc97d83ee1f8fcf3490bb81ad14a99fc544c.zip |
[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>
Diffstat (limited to 'drivers/acpi/processor_perflib.c')
0 files changed, 0 insertions, 0 deletions