Skip to content

Commit

Permalink
[PATCH] I2C: missing new lines in i2c-core messages
Browse files Browse the repository at this point in the history
Two log messages lack their trailing new line in i2c-core. I'd swear I had
fixed them already, but it seems not. Bonus: improved coding style.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Jean Delvare authored and Linus Torvalds committed Jul 29, 2005
1 parent 0cacdf2 commit 86749e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/i2c/i2c-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ int i2c_del_adapter(struct i2c_adapter *adap)
if (driver->detach_adapter)
if ((res = driver->detach_adapter(adap))) {
dev_warn(&adap->dev, "can't detach adapter "
"while detaching driver %s: driver not "
"detached!", driver->name);
"while detaching driver %s: driver "
"not detached!\n", driver->name);
goto out_unlock;
}
}
Expand Down Expand Up @@ -456,8 +456,8 @@ int i2c_detach_client(struct i2c_client *client)
res = adapter->client_unregister(client);
if (res) {
dev_err(&client->dev,
"client_unregister [%s] failed, "
"client not detached", client->name);
"client_unregister [%s] failed, "
"client not detached\n", client->name);
goto out;
}
}
Expand Down

0 comments on commit 86749e8

Please sign in to comment.