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

Commit 9e146f43 authored by Thierry Reding's avatar Thierry Reding Committed by Lee Jones
Browse files

mfd: cros ec: spi: Fix debug output



The dev_cont() symbol doesn't exist, so replace it with pr_cont(). While
at it, also append a newline to the debug output to make it look nicer.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 49f91ac3
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -76,7 +76,9 @@ static void debug_packet(struct device *dev, const char *name, u8 *ptr,

	dev_dbg(dev, "%s: ", name);
	for (i = 0; i < len; i++)
		dev_cont(dev, " %02x", ptr[i]);
		pr_cont(" %02x", ptr[i]);

	pr_cont("\n");
#endif
}