Add missing newlines to some uses of dev_<level> messages

Found these while looking at printk uses.

Add missing newlines to dev_<level> uses
Add missing KERN_<level> prefixes to multiline dev_<level>s
Fixed a wierd->weird spelling typo
Added a newline to a printk

Signed-off-by: Joe Perches <[email protected]>
Cc: "Luck, Tony" <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Mark M. Hoffman <[email protected]>
Cc: Roland Dreier <[email protected]>
Cc: Tilman Schmidt <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Jeff Garzik <[email protected]>
Cc: Stephen Hemminger <[email protected]>
Cc: Greg KH <[email protected]>
Cc: Jeremy Fitzhardinge <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Cc: David Brownell <[email protected]>
Cc: James Smart <[email protected]>
Cc: Andrew Vasquez <[email protected]>
Cc: "Antonino A. Daplas" <[email protected]>
Cc: Evgeniy Polyakov <[email protected]>
Cc: Russell King <[email protected]>
Cc: Jaroslav Kysela <[email protected]>
Cc: Takashi Iwai <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Joe Perches 2007-10-18 03:06:30 -07:00 • committed by Linus Torvalds
commit 898eb71cb1
49 changed files with 126 additions and 117 deletions

View file

@ -1651,7 +1651,7 @@ static int adm1026_detect(struct i2c_adapter *adapter, int address,
break;
default :
dev_err(&adapter->dev, ": Internal error, invalid "
"kind (%d)!", kind);
"kind (%d)!\n", kind);
err = -EFAULT;
goto exitfree;
}

View file

@ -533,7 +533,7 @@ static void lm63_init_client(struct i2c_client *client)
/* Start converting if needed */
if (data->config & 0x40) { /* standby */
dev_dbg(&client->dev, "Switching to operational mode");
dev_dbg(&client->dev, "Switching to operational mode\n");
data->config &= 0xA7;
i2c_smbus_write_byte_data(client, LM63_REG_CONFIG1,
data->config);

View file

@ -795,7 +795,7 @@ static ssize_t set_pwm_auto_point_pwm(struct device *dev,
if ((val < 0) || (val > 255)) {
dev_err(dev, "pwm value %ld is out of range. "
"Choose a value between 0 and 255." , val);
"Choose a value between 0 and 255.\n" , val);
return -EINVAL;
}

View file

@ -1096,7 +1096,7 @@ static int w83791d_detect(struct i2c_adapter *adapter, int address, int kind)
if (kind == w83791d) {
client_name = "w83791d";
} else {
dev_err(dev, "w83791d: Internal error: unknown kind (%d)?!?",
dev_err(dev, "w83791d: Internal error: unknown kind (%d)?!?\n",
kind);
goto error1;
}

View file

@ -1385,8 +1385,8 @@ w83792d_detect(struct i2c_adapter *adapter, int address, int kind)
if (kind == w83792d) {
client_name = "w83792d";
} else {
dev_err(dev, "w83792d: Internal error: unknown"
" kind (%d)?!?", kind);
dev_err(dev, "w83792d: Internal error: unknown kind (%d)?!?\n",
kind);
goto ERROR1;
}