projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58f44aa
)
drm/i915/pmu: prefer struct drm_device based logging
author
Jani Nikula
<jani.nikula@intel.com>
Thu, 2 Apr 2020 11:48:14 +0000
(14:48 +0300)
committer
Jani Nikula
<jani.nikula@intel.com>
Wed, 8 Apr 2020 10:49:35 +0000
(13:49 +0300)
Prefer struct drm_device based logging over struct device based logging.
No functional changes.
Cc: Wambui Karuga <wambui.karugax@gmail.com>
Reviewed-by: Wambui Karuga <wambui.karugax@gmail.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20200402114819.17232-12-jani.nikula@intel.com
drivers/gpu/drm/i915/i915_pmu.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_pmu.c
b/drivers/gpu/drm/i915/i915_pmu.c
index 2c062534eac134694e8a84e9e1d861174e49ee28..230e9256ab308f2300e5ce547d743830c2c22793 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_pmu.c
+++ b/
drivers/gpu/drm/i915/i915_pmu.c
@@
-1115,7
+1115,7
@@
void i915_pmu_register(struct drm_i915_private *i915)
int ret = -ENOMEM;
if (INTEL_GEN(i915) <= 2) {
- d
ev_info(i915->drm.dev
, "PMU not supported for this GPU.");
+ d
rm_info(&i915->drm
, "PMU not supported for this GPU.");
return;
}
@@
-1178,7
+1178,7
@@
err_name:
if (!is_igp(i915))
kfree(pmu->name);
err:
- d
ev_notice(i915->drm.dev
, "Failed to register PMU!\n");
+ d
rm_notice(&i915->drm
, "Failed to register PMU!\n");
}
void i915_pmu_unregister(struct drm_i915_private *i915)