• Tian Tao's avatar
    drm/radeon/radeon_pm: Convert sysfs sprintf/snprintf family to sysfs_emit · 2b0e617a
    Tian Tao authored
    Fix the following coccicheck warning:
    drivers/gpu//drm/radeon/radeon_pm.c:521:9-17: WARNING: use scnprintf or
    sprintf
    drivers/gpu//drm/radeon/radeon_pm.c:475:8-16: WARNING: use scnprintf or
    sprintf
    drivers/gpu//drm/radeon/radeon_pm.c:418:8-16: WARNING: use scnprintf or
    sprintf
    drivers/gpu//drm/radeon/radeon_pm.c:363:8-16: WARNING: use scnprintf or
    sprintf
    drivers/gpu//drm/radeon/radeon_pm.c:734:8-16: WARNING: use scnprintf or
    sprintf
    drivers/gpu//drm/radeon/radeon_pm.c:688:8-16: WARNING: use scnprintf or
    sprintf
    drivers/gpu//drm/radeon/radeon_pm.c:704:8-16: WARNING: use scnprintf or
    sprintf
    drivers/gpu//drm/radeon/radeon_pm.c:755:8-16: WARNING: use scnprintf or
    sprintf
    Signed-off-by: default avatarTian Tao <tiantao6@hisilicon.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    2b0e617a
radeon_pm.c 57.1 KB