diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-02-25 10:47:10 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-02-26 12:43:47 -0500 |
commit | a65ecc4070c75ed53553def79e5da862b47daf1f (patch) | |
tree | 7e983deb716ca4f6c77165e129fbea52ee5e73f6 /drivers/gpu/drm/amd/amdgpu/sdma_v2_4.h | |
parent | 70eacc72dbbc229013fee54550c03179f9a513d8 (diff) |
drm/amd: cleanup get_mfd_cell_dev()
It's simpler to just use snprintf() to print this to one buffer instead
of using strcpy() and strcat(). Also using snprintf() is slightly safer
than using sprintf().
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/sdma_v2_4.h')
0 files changed, 0 insertions, 0 deletions