phylib: Support registering a bunch of drivers
authorChristian Hohnstaedt <chohnstaedt@innominate.com>
Wed, 4 Jul 2012 05:44:34 +0000 (05:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jul 2012 07:10:56 +0000 (00:10 -0700)
If registering of one of them fails, all already registered drivers
of this module will be unregistered.

Use the new register/unregister functions in all drivers
registering more than one driver.

amd.c, realtek.c: Simplify: directly return registration result.

Tested with broadcom.c
All others compile-tested.

Signed-off-by: Christian Hohnstaedt <chohnstaedt@innominate.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found