git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
250d1bd
)
i2c: Fix return value check in i2c-dev
author
Akinobu Mita
<akinobu.mita@gmail.com>
Sun, 10 Dec 2006 20:21:33 +0000
(21:21 +0100)
committer
Jean Delvare
<khali@arrakis.delvare>
Sun, 10 Dec 2006 20:21:33 +0000
(21:21 +0100)
device_create() returns error code as pointer on failures.
This patch checks the return value of device_create() by using IS_ERR().
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
No differences found