https://github.com/torvalds/linux
Revision e74783ec3cb981211689bd2cfd3248f8dc48ec01 authored by Sven Wegener on 24 September 2008, 11:39:21 UTC, committed by Jean Delvare on 24 September 2008, 11:39:21 UTC
We need to convert the error pointer from class_create(), else we'll return the
successful return code from register_chrdev() on failure.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
1 parent 4ebb52d
History
Tip revision: e74783ec3cb981211689bd2cfd3248f8dc48ec01 authored by Sven Wegener on 24 September 2008, 11:39:21 UTC
i2c-dev: Return correct error code on class_create() failure
Tip revision: e74783e
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 867 bytes
.mailmap -rw-r--r-- 3.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.7 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 99.5 KB
Makefile -rw-r--r-- 55.4 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top