aboutsummaryrefslogtreecommitdiff
path: root/block/blk-sysfs.c
diff options
context:
space:
mode:
authorSven Wegener <sven.wegener@stealer.net>2008-09-24 13:39:21 +0200
committerJean Delvare <khali@mahadeva.delvare>2008-09-24 13:39:21 +0200
commite74783ec3cb981211689bd2cfd3248f8dc48ec01 (patch)
tree0835a0ade974c7a77ef6534038a85537ca5f6c2a /block/blk-sysfs.c
parent4ebb52d34fac2904e541ccfa8e32126db836fa92 (diff)
i2c-dev: Return correct error code on class_create() failure
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>
Diffstat (limited to 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions