]> err.no Git - linux-2.6/commit
m68k: Return -ENODEV if no device is found
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 17 Jul 2008 19:16:10 +0000 (21:16 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 21 Jul 2008 00:24:38 +0000 (17:24 -0700)
commite945b568e28b42de893ef24989372f0219501d32
treeb14af0806136067685a96832abcf05b46f99980b
parent038eddd9acf34e8202b31af3ee9eb48179114323
m68k: Return -ENODEV if no device is found

According to the tests in do_initcalls(), the proper error code in case no
device is found is -ENODEV, not -ENXIO or -EIO.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/ataflop.c
drivers/char/nvram.c
drivers/input/keyboard/atakbd.c
drivers/video/atafb.c