Skip to content
Commit d5bf9071 authored by Christian Hohnstaedt's avatar Christian Hohnstaedt Committed by David S. Miller
Browse files

phylib: Support registering a bunch of drivers



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: default avatarChristian Hohnstaedt <chohnstaedt@innominate.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 567990cf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment