diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2007-07-27 06:29:19 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-07-27 06:29:19 -0400 |
commit | e556bbbd9d2ff2b158915945ac82e2ac7def4d2f (patch) | |
tree | 023ed3bc586284f2acb8e754b9eb4171f54b0f2c /drivers/s390/cio/cmf.c | |
parent | b771aeac32a320ac52bc227252103d7d7fc48cad (diff) |
[S390] cio: Clean up messages.
- Remove unneeded messages.
- Move some messages into the debug feature.
- Use dev_* where appropriate.
- Use "cio: " prefix consistently.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/cmf.c')
-rw-r--r-- | drivers/s390/cio/cmf.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/s390/cio/cmf.c b/drivers/s390/cio/cmf.c index 28abd697be1a..02fd00b55e1b 100644 --- a/drivers/s390/cio/cmf.c +++ b/drivers/s390/cio/cmf.c | |||
@@ -1185,12 +1185,12 @@ static ssize_t cmb_enable_store(struct device *dev, struct device_attribute *att | |||
1185 | case '0': | 1185 | case '0': |
1186 | ret = disable_cmf(cdev); | 1186 | ret = disable_cmf(cdev); |
1187 | if (ret) | 1187 | if (ret) |
1188 | printk(KERN_INFO "disable_cmf failed (%d)\n", ret); | 1188 | dev_info(&cdev->dev, "disable_cmf failed (%d)\n", ret); |
1189 | break; | 1189 | break; |
1190 | case '1': | 1190 | case '1': |
1191 | ret = enable_cmf(cdev); | 1191 | ret = enable_cmf(cdev); |
1192 | if (ret && ret != -EBUSY) | 1192 | if (ret && ret != -EBUSY) |
1193 | printk(KERN_INFO "enable_cmf failed (%d)\n", ret); | 1193 | dev_info(&cdev->dev, "enable_cmf failed (%d)\n", ret); |
1194 | break; | 1194 | break; |
1195 | } | 1195 | } |
1196 | 1196 | ||
@@ -1280,10 +1280,10 @@ init_cmf(void) | |||
1280 | format_string = "basic"; | 1280 | format_string = "basic"; |
1281 | cmbops = &cmbops_basic; | 1281 | cmbops = &cmbops_basic; |
1282 | if (cmb_area.num_channels > 4096 || cmb_area.num_channels < 1) { | 1282 | if (cmb_area.num_channels > 4096 || cmb_area.num_channels < 1) { |
1283 | printk(KERN_ERR "Basic channel measurement facility" | 1283 | printk(KERN_ERR "cio: Basic channel measurement " |
1284 | " can only use 1 to 4096 devices\n" | 1284 | "facility can only use 1 to 4096 devices\n" |
1285 | KERN_ERR "when the cmf driver is built" | 1285 | KERN_ERR "when the cmf driver is built" |
1286 | " as a loadable module\n"); | 1286 | " as a loadable module\n"); |
1287 | return 1; | 1287 | return 1; |
1288 | } | 1288 | } |
1289 | break; | 1289 | break; |
@@ -1292,13 +1292,13 @@ init_cmf(void) | |||
1292 | cmbops = &cmbops_extended; | 1292 | cmbops = &cmbops_extended; |
1293 | break; | 1293 | break; |
1294 | default: | 1294 | default: |
1295 | printk(KERN_ERR "Invalid format %d for channel " | 1295 | printk(KERN_ERR "cio: Invalid format %d for channel " |
1296 | "measurement facility\n", format); | 1296 | "measurement facility\n", format); |
1297 | return 1; | 1297 | return 1; |
1298 | } | 1298 | } |
1299 | 1299 | ||
1300 | printk(KERN_INFO "Channel measurement facility using %s format (%s)\n", | 1300 | printk(KERN_INFO "cio: Channel measurement facility using %s " |
1301 | format_string, detect_string); | 1301 | "format (%s)\n", format_string, detect_string); |
1302 | return 0; | 1302 | return 0; |
1303 | } | 1303 | } |
1304 | 1304 | ||