diff options
author | Joe Perches <joe@perches.com> | 2012-04-29 16:08:39 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-06-11 12:23:49 -0400 |
commit | 956b9ba156dbfdb9cede2b2927ddf8be2233b3a7 (patch) | |
tree | 6ece471eee029a1ca83ce649f7dc23020ebef182 /drivers/edac/amd64_edac_inj.c | |
parent | 7e881856eee8b889b76cd1d8e04ce2fc79b72099 (diff) |
edac: Convert debugfX to edac_dbg(X,
Use a more common debugging style.
Remove __FILE__ uses, add missing newlines,
coalesce formats and align arguments.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac/amd64_edac_inj.c')
-rw-r--r-- | drivers/edac/amd64_edac_inj.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/edac/amd64_edac_inj.c b/drivers/edac/amd64_edac_inj.c index ef1ff4ea9576..53d972e00dfb 100644 --- a/drivers/edac/amd64_edac_inj.c +++ b/drivers/edac/amd64_edac_inj.c | |||
@@ -142,7 +142,8 @@ static ssize_t amd64_inject_read_store(struct device *dev, | |||
142 | /* Issue 'word' and 'bit' along with the READ request */ | 142 | /* Issue 'word' and 'bit' along with the READ request */ |
143 | amd64_write_pci_cfg(pvt->F3, F10_NB_ARRAY_DATA, word_bits); | 143 | amd64_write_pci_cfg(pvt->F3, F10_NB_ARRAY_DATA, word_bits); |
144 | 144 | ||
145 | debugf0("section=0x%x word_bits=0x%x\n", section, word_bits); | 145 | edac_dbg(0, "section=0x%x word_bits=0x%x\n", |
146 | section, word_bits); | ||
146 | 147 | ||
147 | return count; | 148 | return count; |
148 | } | 149 | } |
@@ -177,7 +178,8 @@ static ssize_t amd64_inject_write_store(struct device *dev, | |||
177 | /* Issue 'word' and 'bit' along with the READ request */ | 178 | /* Issue 'word' and 'bit' along with the READ request */ |
178 | amd64_write_pci_cfg(pvt->F3, F10_NB_ARRAY_DATA, word_bits); | 179 | amd64_write_pci_cfg(pvt->F3, F10_NB_ARRAY_DATA, word_bits); |
179 | 180 | ||
180 | debugf0("section=0x%x word_bits=0x%x\n", section, word_bits); | 181 | edac_dbg(0, "section=0x%x word_bits=0x%x\n", |
182 | section, word_bits); | ||
181 | 183 | ||
182 | return count; | 184 | return count; |
183 | } | 185 | } |