drm-print: add drm_dbg_driver to improve namespace symmetry
authorJim Cromie <jim.cromie@gmail.com>
Mon, 12 Sep 2022 05:28:49 +0000 (23:28 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Sep 2022 13:02:02 +0000 (15:02 +0200)
commit95a77b6331c2d2313aa843fa77ec91cd092ab0e4
tree911d37bf596e64b8a9a4ac75eaa6d7c5e2fce5d4
parentee7d633f2dfb12bac90898edf2ceb5f43a4957eb
drm-print: add drm_dbg_driver to improve namespace symmetry

drm_print defines all of these:
    drm_dbg_{core,kms,prime,atomic,vbl,lease,_dp,_drmres}

but not drm_dbg_driver itself, since it was the original drm_dbg.

To improve namespace symmetry, change the drm_dbg defn to
drm_dbg_driver, and redef grandfathered name to symmetric one.

This will help with nouveau, which uses its own stack of macros to
construct calls to dev_info, dev_dbg, etc, for which adaptation means
drm_dbg_##driver constructs.

Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Link: https://lore.kernel.org/r/20220912052852.1123868-7-jim.cromie@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/drm/drm_print.h