drm/i915/wakeref: fix kernel-doc comment
authorJani Nikula <jani.nikula@intel.com>
Wed, 5 Apr 2023 10:41:42 +0000 (13:41 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 6 Apr 2023 12:39:26 +0000 (15:39 +0300)
Fix the warning:

drivers/gpu/drm/i915/intel_wakeref.h:118: warning: expecting prototype
for intel_wakeref_get_if_in_use(). Prototype was for
intel_wakeref_get_if_active() instead

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230405104142.766598-2-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_wakeref.h

index 71b8a63..0b6b485 100644 (file)
@@ -105,7 +105,7 @@ __intel_wakeref_get(struct intel_wakeref *wf)
 }
 
 /**
- * intel_wakeref_get_if_in_use: Acquire the wakeref
+ * intel_wakeref_get_if_active: Acquire the wakeref
  * @wf: the wakeref
  *
  * Acquire a hold on the wakeref, but only if the wakeref is already