Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

via/via_irq: use __func__ to replace string function name

This change also fix checkpatch.pl warning:
WARNING: Prefer using '"%s...", __func__' to using
'via_driver_irq_postinstall', this function's name, in a string
+ DRM_DEBUG("via_driver_irq_postinstall\n");

Signed-off-by: Bernard Zhao <bernard@vivo.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20201119072957.108941-1-bernard@vivo.com

authored by

Bernard Zhao and committed by
Daniel Vetter
584e599b 9afdda82

+1 -1
+1 -1
drivers/gpu/drm/via/via_irq.c
··· 308 308 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; 309 309 u32 status; 310 310 311 - DRM_DEBUG("via_driver_irq_postinstall\n"); 311 + DRM_DEBUG("fun: %s\n", __func__); 312 312 if (!dev_priv) 313 313 return -EINVAL; 314 314