]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFC: st-nci: Get rid of "interesting" use of interrupt polarity
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 19 Jun 2017 10:08:53 +0000 (13:08 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 22 Jun 2017 21:51:45 +0000 (23:51 +0200)
commit1af9fea6be9de6e86f628e66c0eae996c49dbe80
treedc3f6a71e5604ac16a60acbd04de4629e0aa4a3b
parent61a04101c8a486dec586b2657bffede1b3b979f3
NFC: st-nci: Get rid of "interesting" use of interrupt polarity

I2C and SPI frameworks followed by IRQ framework do set
interrupt polarity correctly if it's properly specified in firmware
(ACPI or DT).

Get rid of the redundant trick when requesting interrupt.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st-nci/i2c.c
drivers/nfc/st-nci/spi.c