Stas Sergeev 39acbc12af Driver core: fix driver_register() return value
In this patch:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=16dc42e018c2868211b4928f20a957c0c216126c
the check was added for another driver to already claim the same device
on the same bus. But the returned error code was wrong: to modprobe, the
-EEXIST means that _this_ driver is already installed. It therefore
doesn't produce the needed error message when _another_ driver is trying
to register for the same device.  Returning -EBUSY fixes the problem.

Signed-off-by: Stas Sergeev <stsp@aknet.ru>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-10-30 14:59:51 -07:00
..
2009-10-15 00:47:13 -04:00
2009-10-22 16:39:34 +10:30
2009-10-29 07:39:30 -07:00
2009-09-24 07:21:05 -07:00
2009-10-20 10:13:49 +03:00
2009-10-15 09:58:27 -06:00
2009-10-15 00:47:13 -04:00
2009-09-23 11:35:41 -04:00
2009-10-21 13:20:32 +01:00
2009-10-04 22:53:41 +02:00
2009-10-04 15:05:10 -07:00
2009-09-23 10:07:49 -07:00