Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86749e85 authored by Jean Delvare's avatar Jean Delvare Committed by Linus Torvalds
Browse files

[PATCH] I2C: missing new lines in i2c-core messages



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: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0cacdf29
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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;
			}
	}
@@ -457,7 +457,7 @@ int i2c_detach_client(struct i2c_client *client)
		if (res) {
			dev_err(&client->dev,
				"client_unregister [%s] failed, "
			       "client not detached", client->name);
				"client not detached\n", client->name);
			goto out;
		}
	}