summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorPavel Machek <pavel@denx.de>2014-09-09 14:26:51 +0200
committerMarek Vasut <marex@denx.de>2014-10-06 17:36:40 +0200
commit58ec63d6bcbe392ebed83197c90dc743f3b9e701 (patch)
treecac1f77226b48945b6580d4f4d079aefa03599b2 /drivers/net
parent464eec6d42cbdb5a57573d40ba64aad0e92aa689 (diff)
downloadu-boot-imx-58ec63d6bcbe392ebed83197c90dc743f3b9e701.zip
u-boot-imx-58ec63d6bcbe392ebed83197c90dc743f3b9e701.tar.gz
u-boot-imx-58ec63d6bcbe392ebed83197c90dc743f3b9e701.tar.bz2
net: phy: Cleanup drivers/net/phy/micrel.c
Old saying says that more than three exclamation marks in a row are sign of mental disease. Cleanup micrel.c. Signed-off-by: Pavel Machek <pavel@denx.de> Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@altera.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Tom Rini <trini@ti.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Pavel Machek <pavel@denx.de> Cc: Joe Hershberger <joe.hershberger@gmail.com> Acked-by: Chin Liang See <clsee@altera.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/phy/micrel.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
index 5d7e3be..507b9a3 100644
--- a/drivers/net/phy/micrel.c
+++ b/drivers/net/phy/micrel.c
@@ -25,8 +25,7 @@ static struct phy_driver KSZ804_driver = {
#ifndef CONFIG_PHY_MICREL_KSZ9021
/*
* I can't believe Micrel used the exact same part number
- * for the KSZ9021
- * Shame Micrel, Shame!!!!!
+ * for the KSZ9021. Shame Micrel, Shame!
*/
static struct phy_driver KS8721_driver = {
.name = "Micrel KS8721BL",
@@ -40,7 +39,7 @@ static struct phy_driver KS8721_driver = {
#endif
-/**
+/*
* KSZ9021 - KSZ9031 common
*/
@@ -69,8 +68,8 @@ static int ksz90xx_startup(struct phy_device *phydev)
phydev->speed = SPEED_10;
return 0;
}
-#ifdef CONFIG_PHY_MICREL_KSZ9021
+#ifdef CONFIG_PHY_MICREL_KSZ9021
/*
* KSZ9021
*/