drm/panel: Convert sysfs sprintf/snprintf family to sysfs_emit
authorTian Tao <tiantao6@hisilicon.com>
Tue, 30 Mar 2021 01:54:48 +0000 (09:54 +0800)
committerTian Tao <tiantao6@hisilicon.com>
Fri, 9 Apr 2021 00:41:38 +0000 (20:41 -0400)
commite8b8b0df8694e39ea6bbbdb9e2fcfa78a61e2e42
tree8a3b1002654c52c8f50084da2512bd2092261d75
parent90876fd477fc50a699b6372d564c671ad84880d6
drm/panel: Convert sysfs sprintf/snprintf family to sysfs_emit

Fix the following coccicheck warning:
drivers/gpu/drm/panel//panel-tpo-td043mtea1.c:217:8-16: WARNING:
use scnprintf or sprintf
drivers/gpu/drm/panel//panel-tpo-td043mtea1.c:189:8-16: WARNING:
use scnprintf or sprintf

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1617069288-8317-1-git-send-email-tiantao6@hisilicon.com
drivers/gpu/drm/panel/panel-tpo-td043mtea1.c