From 582523142975c7993af81ff8007ff8e0e96f6dee Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Tue, 2 Feb 2021 20:40:57 +0100 Subject: printk: port over Linux print_hex_dump_bytes/print_hex_dump_debug print_hex_dump in barebox always prints a hex dump. Most users use it for debugging though, so import Linux helpers to do so to cut down on the #ifdef DEBUG. Signed-off-by: Ahmad Fatoum Signed-off-by: Sascha Hauer --- drivers/video/tc358767.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drivers/video') diff --git a/drivers/video/tc358767.c b/drivers/video/tc358767.c index e64dde1ddf..7d14aca911 100644 --- a/drivers/video/tc358767.c +++ b/drivers/video/tc358767.c @@ -1191,8 +1191,7 @@ static int tc_read_edid(struct tc_data *tc) #ifdef DEBUG printk(KERN_DEBUG "eDP display EDID:\n"); - print_hex_dump(KERN_DEBUG, "", DUMP_PREFIX_OFFSET, 16, 1, tc->edid, - EDID_LENGTH, true); + print_hex_dump_bytes("", DUMP_PREFIX_OFFSET, tc->edid, EDID_LENGTH); #endif return 0; -- cgit v1.2.3