diff options
author | Joe Perches <joe@perches.com> | 2010-02-22 11:56:57 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-26 04:38:34 -0500 |
commit | c1f51212eb809849bdc68a856ae5f424dcf20d9b (patch) | |
tree | 2a01f9e5201d3fc40527c24961b0f888f9e0ed61 /drivers/net/chelsio/espi.c | |
parent | 003bdb279bb6b212f25ea4e60e0164b6109d3704 (diff) |
drivers/net/chelsio: Use pr_<level>, netif_msg_<type>
Convert CH_<level> and CH_DBG uses to pr_<level> and netif equivalents
Remove CH_<level> and CH_DBG macro definitions
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/chelsio/espi.c')
-rw-r--r-- | drivers/net/chelsio/espi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/chelsio/espi.c b/drivers/net/chelsio/espi.c index 1e0749e000b0..639ff1955739 100644 --- a/drivers/net/chelsio/espi.c +++ b/drivers/net/chelsio/espi.c | |||
@@ -76,7 +76,7 @@ static int tricn_write(adapter_t *adapter, int bundle_addr, int module_addr, | |||
76 | } while (busy && --attempts); | 76 | } while (busy && --attempts); |
77 | 77 | ||
78 | if (busy) | 78 | if (busy) |
79 | CH_ERR("%s: TRICN write timed out\n", adapter->name); | 79 | pr_err("%s: TRICN write timed out\n", adapter->name); |
80 | 80 | ||
81 | return busy; | 81 | return busy; |
82 | } | 82 | } |
@@ -86,7 +86,7 @@ static int tricn_init(adapter_t *adapter) | |||
86 | int i, sme = 1; | 86 | int i, sme = 1; |
87 | 87 | ||
88 | if (!(readl(adapter->regs + A_ESPI_RX_RESET) & F_RX_CLK_STATUS)) { | 88 | if (!(readl(adapter->regs + A_ESPI_RX_RESET) & F_RX_CLK_STATUS)) { |
89 | CH_ERR("%s: ESPI clock not ready\n", adapter->name); | 89 | pr_err("%s: ESPI clock not ready\n", adapter->name); |
90 | return -1; | 90 | return -1; |
91 | } | 91 | } |
92 | 92 | ||