]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: it6505: use drm_debug_enabled() in it6505_debug_print()
authorHamza Mahfooz <someguy@effective-light.com>
Sat, 10 Sep 2022 22:48:16 +0000 (18:48 -0400)
committerRobert Foss <robert.foss@linaro.org>
Mon, 12 Sep 2022 11:45:07 +0000 (13:45 +0200)
commit675aab66f7fdae9704f625f5e80e722c9b44d063
tree20c4b411031bc9bdbbebe6eeaeb3f104bf58f5be
parentbf3136e01c9e21655faf1e6fe7c3b5d5e1540e8b
drm/bridge: it6505: use drm_debug_enabled() in it6505_debug_print()

As made mention of in commit 0be2bf496181 ("drm/print: rename drm_debug
to __drm_debug to discourage use"), we shouldn't explicitly refer to
__drm_debug in this context. So, use drm_debug_enabled() instead.

Fixes: 6c5af350b990 ("drm/bridge: add it6505 driver")
Signed-off-by: Hamza Mahfooz <someguy@effective-light.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220910224816.15058-1-someguy@effective-light.com
drivers/gpu/drm/bridge/ite-it6505.c