]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86/pci/intel_mid_pci: Use proper constants for irq polarity
authorThomas Gleixner <tglx@linutronix.de>
Wed, 29 Jul 2015 19:16:19 +0000 (21:16 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 29 Jul 2015 19:23:50 +0000 (21:23 +0200)
commit5054e1e63946abff39bc7b154fac049110d9d3bb
treed17c7da11e66f1727c4add142351cf167aa348ae
parent0abbdea1e9592fba120521ce22c6c26301e72761
x86/pci/intel_mid_pci: Use proper constants for irq polarity

polarity = 0 means active high. Not really intuitive, so people add
comments to it instead of just using a self explaining constant.

Use the IOAPIC_POL_ constants and get rid of those horrible to read
tail comments.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
arch/x86/pci/intel_mid_pci.c