diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-02-11 20:27:38 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-12 19:08:20 -0500 |
commit | ad033506f5061db818bab1cc07b2c3d8d477cf12 (patch) | |
tree | b38bbcb8967eb5bb88aefa82e4f6413b741db6d8 /drivers/net/phy/phy.c | |
parent | 76a423a3f8f16bfc7fb86360a620be18c775b94d (diff) |
net: phy: fix phy_{clear,config}_interrupt comment typos
The comments above phy_{clear,config}_interrupt used the word "on"
instead of "or", when talking about the return values of the functions,
fix these two typos.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy.c')
-rw-r--r-- | drivers/net/phy/phy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 2fa4611709a4..fc918b63dc65 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c | |||
@@ -83,7 +83,7 @@ EXPORT_SYMBOL(phy_print_status); | |||
83 | * If the @phydev driver has an ack_interrupt function, call it to | 83 | * If the @phydev driver has an ack_interrupt function, call it to |
84 | * ack and clear the phy device's interrupt. | 84 | * ack and clear the phy device's interrupt. |
85 | * | 85 | * |
86 | * Returns 0 on success on < 0 on error. | 86 | * Returns 0 on success or < 0 on error. |
87 | */ | 87 | */ |
88 | static int phy_clear_interrupt(struct phy_device *phydev) | 88 | static int phy_clear_interrupt(struct phy_device *phydev) |
89 | { | 89 | { |
@@ -98,7 +98,7 @@ static int phy_clear_interrupt(struct phy_device *phydev) | |||
98 | * @phydev: the phy_device struct | 98 | * @phydev: the phy_device struct |
99 | * @interrupts: interrupt flags to configure for this @phydev | 99 | * @interrupts: interrupt flags to configure for this @phydev |
100 | * | 100 | * |
101 | * Returns 0 on success on < 0 on error. | 101 | * Returns 0 on success or < 0 on error. |
102 | */ | 102 | */ |
103 | static int phy_config_interrupt(struct phy_device *phydev, u32 interrupts) | 103 | static int phy_config_interrupt(struct phy_device *phydev, u32 interrupts) |
104 | { | 104 | { |