]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: stub: use pr_fmt
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 16 May 2017 11:21:05 +0000 (13:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 2 Jun 2017 20:45:28 +0000 (22:45 +0200)
commitb0b63a41ef88adbfa26b44e048bc3dddcdd62ead
treedb29c491c8ccfe4e5db896e5200595de77c62570
parent32442322b78abb699f25cb0d52d752e7827512eb
i2c: stub: use pr_fmt

Instead of hard coding "i2c-stub:", let's use the pr_fmt mechanism to
achieve the same more easily. This makes it easier to stay consistent
when adding new messages. Also, remove an unneeded OOM message while we
are here.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-stub.c