aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/smsc911x.c
diff options
context:
space:
mode:
authorThomas Weber <swirl@gmx.li>2010-03-16 06:47:56 -0400
committerJiri Kosina <jkosina@suse.cz>2010-03-16 06:47:56 -0400
commit88393161210493e317ae391696ee8ef463cb3c23 (patch)
tree6ec81a50d0e8174b415d83948b48cbabd7e54ddb /drivers/net/smsc911x.c
parent932fb06b0898f5883200f1da2e00075f0d70ba9c (diff)
Fix typos in comments
[Ss]ytem => [Ss]ystem udpate => update paramters => parameters orginal => original Signed-off-by: Thomas Weber <swirl@gmx.li> Acked-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/net/smsc911x.c')
-rw-r--r--drivers/net/smsc911x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c
index 4fd1d8b38788..eb175980a8e0 100644
--- a/drivers/net/smsc911x.c
+++ b/drivers/net/smsc911x.c
@@ -737,7 +737,7 @@ static void smsc911x_phy_adjust_link(struct net_device *dev)
737 SMSC_TRACE(HW, "configuring for carrier OK"); 737 SMSC_TRACE(HW, "configuring for carrier OK");
738 if ((pdata->gpio_orig_setting & GPIO_CFG_LED1_EN_) && 738 if ((pdata->gpio_orig_setting & GPIO_CFG_LED1_EN_) &&
739 (!pdata->using_extphy)) { 739 (!pdata->using_extphy)) {
740 /* Restore orginal GPIO configuration */ 740 /* Restore original GPIO configuration */
741 pdata->gpio_setting = pdata->gpio_orig_setting; 741 pdata->gpio_setting = pdata->gpio_orig_setting;
742 smsc911x_reg_write(pdata, GPIO_CFG, 742 smsc911x_reg_write(pdata, GPIO_CFG,
743 pdata->gpio_setting); 743 pdata->gpio_setting);
@@ -751,7 +751,7 @@ static void smsc911x_phy_adjust_link(struct net_device *dev)
751 if ((pdata->gpio_setting & GPIO_CFG_LED1_EN_) && 751 if ((pdata->gpio_setting & GPIO_CFG_LED1_EN_) &&
752 (!pdata->using_extphy)) { 752 (!pdata->using_extphy)) {
753 /* Force 10/100 LED off, after saving 753 /* Force 10/100 LED off, after saving
754 * orginal GPIO configuration */ 754 * original GPIO configuration */
755 pdata->gpio_orig_setting = pdata->gpio_setting; 755 pdata->gpio_orig_setting = pdata->gpio_setting;
756 756
757 pdata->gpio_setting &= ~GPIO_CFG_LED1_EN_; 757 pdata->gpio_setting &= ~GPIO_CFG_LED1_EN_;