]> git.baikalelectronics.ru Git - kernel.git/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)
commit720dc0380a210b704b08724ece43e34caf7174c6
treeb14af0806136067685a96832abcf05b46f99980b
parent2dd949dc3cced109682a94921be02333b1a06428
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