[PATCH] paride: return proper error code
authorAkinobu Mita <akinobu.mita@gmail.com>
Thu, 7 Dec 2006 04:36:43 +0000 (20:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:34 +0000 (08:39 -0800)
commit8bca98cabf6db738b06d6f3b6d4b6c5f2a5cb7b6
treef68a69c5b841ace15ae19b8e9da21b9ffca726b2
parent138ae6631a3d6f86851dd53686fa88295d1398bd
[PATCH] paride: return proper error code

This patch makes module init return proper value instead of -1 (-EPERM).

Cc: Tim Waugh <tim@cyberelk.net>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/paride/pcd.c
drivers/block/paride/pf.c
drivers/block/paride/pg.c
drivers/block/paride/pt.c