]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit92b48bc2985b927ba02c440d74364f791c4d4299
tree398410d68ed01dda476bba31a53b843e406358fa
parentaa898209e44ea0ab1f200b7dbafe436598c5fa32
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