drm/i915: don't specify the IRQ register in the gen2 macros
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 10 Apr 2019 23:53:41 +0000 (16:53 -0700)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 16 Apr 2019 21:17:28 +0000 (14:17 -0700)
commit2918c3caefc1589350f1aeb18b853bda94b5bc96
tree398410d68ed01dda476bba31a53b843e406358fa
parent68eb49b140c380866ee918d378ae1a798aab9983
drm/i915: don't specify the IRQ register in the gen2 macros

Like the gen3+ macros, the gen2 versions of the IRQ initialization
macros take the register name in the 'type' argument. But gen2 only
has one set of registers, so there's really no need to specify the
type. This commit removes the type argument and uses the registers
directly instead of passing them through variables.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190410235344.31199-3-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/i915_irq.c