drm/i915/backlight: convert DRM_DEBUG_KMS() to drm_dbg_kms()
authorJani Nikula <jani.nikula@intel.com>
Wed, 7 Dec 2022 09:34:46 +0000 (11:34 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 7 Dec 2022 17:24:15 +0000 (19:24 +0200)
Fix the final straggler.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/4769f8377be11536bd19840a2e59ef9f8c0a558c.1670405587.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_backlight.c

index 3ed5c64..5b7da72 100644 (file)
@@ -866,8 +866,8 @@ static int intel_backlight_device_update_status(struct backlight_device *bd)
 
        drm_modeset_lock(&i915->drm.mode_config.connection_mutex, NULL);
 
-       DRM_DEBUG_KMS("updating intel_backlight, brightness=%d/%d\n",
-                     bd->props.brightness, bd->props.max_brightness);
+       drm_dbg_kms(&i915->drm, "updating intel_backlight, brightness=%d/%d\n",
+                   bd->props.brightness, bd->props.max_brightness);
        intel_panel_set_backlight(connector->base.state, bd->props.brightness,
                                  bd->props.max_brightness);