From: Christian Hohnstaedt Date: Wed, 4 Jul 2012 05:44:34 +0000 (+0000) Subject: phylib: Support registering a bunch of drivers X-Git-Tag: v3.6-rc1~125^2~262 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5bf9071e71a4db85a0eea6236ef94a29fc3eec9;p=pandora-kernel.git 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: Christian Hohnstaedt Signed-off-by: David S. Miller --- Reading git-diff-tree failed