Stas Sergeev 16dc42e018 driver core: warn about duplicate driver names on the same bus
Currently an attempt to register multiple
drivers with the same name causes the
stack trace with some cryptic error message.
The attached patch adds the necessary check
and the clear error message.

Signed-off-by: Stas Sergeev <stsp@aknet.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-04-30 16:52:47 -07:00
..
2008-04-29 08:06:27 -07:00
2008-04-29 13:46:54 -07:00
2008-04-30 08:29:47 -07:00
2008-04-30 08:29:47 -07:00
2008-04-29 08:06:18 -07:00
2008-04-30 08:29:47 -07:00
2008-04-30 08:29:52 -07:00
2008-04-30 08:29:52 -07:00