diff options
author | Arnd Bergmann <arnd@arndb.de> | 2021-03-24 14:36:52 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-09 16:44:08 -0400 |
commit | 9e76e7b2066657e0e04906b6941ee0d364d8e3b8 (patch) | |
tree | 7b01ac48253a4b033d5c51e3069ad8e5219c2038 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | |
parent | f4a9be998c8ee39a30a68cb775c91928fe10a384 (diff) |
amdgpu: securedisplay: simplify i2c hexdump output
A previous fix I did left a rather complicated loop in
amdgpu_securedisplay_debugfs_write() for what could be expressed in a
simple sprintf, as Rasmus pointed out.
This drops the leading 0x for each byte, but is otherwise
much nicer.
Suggested-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions