]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/display/dpll_mgr: Prefer drm_WARN_ON over WARN_ON
authorPankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Mon, 6 Apr 2020 11:27:49 +0000 (16:57 +0530)
committerJani Nikula <jani.nikula@intel.com>
Tue, 21 Apr 2020 07:53:53 +0000 (10:53 +0300)
commit64e69b9d44d57a8fdf264369d18e7b95afdacf21
tree0f3527d9f7fcf6072540a65fc1cf9899c947106d
parent8093f0abfea81f073ba1b9cbae4d0041bb6a4522
drm/i915/display/dpll_mgr: 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 at places where struct drm_device
pointer can be extracted.

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/20200406112800.23762-8-pankaj.laxminarayan.bharadiya@intel.com
drivers/gpu/drm/i915/display/intel_dpll_mgr.c