drm/amd: cleanup get_mfd_cell_dev()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 25 Feb 2016 07:47:10 +0000 (10:47 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 26 Feb 2016 17:43:47 +0000 (12:43 -0500)
commita65ecc4070c75ed53553def79e5da862b47daf1f
tree7e983deb716ca4f6c77165e129fbea52ee5e73f6
parent70eacc72dbbc229013fee54550c03179f9a513d8
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c