drm/i915: Drop const qualifiers from params in wait_for_register()
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 10 Apr 2017 09:38:17 +0000 (09:38 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 10 Apr 2017 13:05:28 +0000 (14:05 +0100)
commit3fc7d86b3268af92181b517ca832258809b2d771
treed31eb2e98f38b400314aa72c42dab56484a9e518
parentbcc36d8a4f1eb91a05655471f0c8cf2b5be07b16
drm/i915: Drop const qualifiers from params in wait_for_register()

These params are passed by value, const qualifiers are ignored any way.
While around, unify timeout_ms type from long to int.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Suggested-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170410093817.151280-1-michal.wajdeczko@intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_uncore.c