summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/amd.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2012-09-05 07:57:19 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-09-05 07:57:19 +0200
commite6c340171f0daaccc95b90abbeed2b837157ee11 (patch)
tree843d4035be59bd791321910e52157ce527b3b4b3 /drivers/net/phy/amd.c
parentInput: tegra - move platform data header (diff)
parentLinux 3.6-rc4 (diff)
downloadlinux-e6c340171f0daaccc95b90abbeed2b837157ee11.tar.xz
linux-e6c340171f0daaccc95b90abbeed2b837157ee11.zip
Merge tag 'v3.6-rc4' into next
Linux 3.6-rc4 # gpg: Signature made Sat 01 Sep 2012 10:40:33 AM PDT using RSA key ID 00411886 # gpg: Good signature from "Linus Torvalds <torvalds@linux-foundation.org>"
Diffstat (limited to 'drivers/net/phy/amd.c')
-rw-r--r--drivers/net/phy/amd.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/net/phy/amd.c b/drivers/net/phy/amd.c
index cfabd5fe5372..a3fb5ceb6487 100644
--- a/drivers/net/phy/amd.c
+++ b/drivers/net/phy/amd.c
@@ -77,13 +77,7 @@ static struct phy_driver am79c_driver = {
static int __init am79c_init(void)
{
- int ret;
-
- ret = phy_driver_register(&am79c_driver);
- if (ret)
- return ret;
-
- return 0;
+ return phy_driver_register(&am79c_driver);
}
static void __exit am79c_exit(void)