drm/i915/pmu: Prefer drm_WARN_ON over WARN_ON
authorPankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Mon, 4 May 2020 18:15:58 +0000 (23:45 +0530)
committerJani Nikula <jani.nikula@intel.com>
Tue, 19 May 2020 13:01:34 +0000 (16:01 +0300)
commitbf07f6ebffefce2bbf3c318f9ce2f987774ea983
tree41c3c2591cde270671b76408cdf898116089bb81
parent7bda10095aaa7ab45249812c4f6b8ea55c7a45a2
drm/i915/pmu: Prefer drm_WARN_ON over WARN_ON

struct drm_device specific drm_WARN* macros include device information
in the backtrace, so we know what device the warnings originate from.

Prefer drm_WARN_ON over WARN_ON.

Signed-off-by: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200504181600.18503-8-pankaj.laxminarayan.bharadiya@intel.com
drivers/gpu/drm/i915/i915_pmu.c