NFC: pn544: Convert to use devm_request_threaded_irq()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 28 Mar 2017 09:36:37 +0000 (12:36 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 5 Apr 2017 08:04:19 +0000 (10:04 +0200)
commit182d4e860845bbf388f5f60d9e651611f3dbd351
tree0bfe342a487b649654e45649184341189a18652b
parente2c518c6c9987bf832bb1475de38911da96bd3db
NFC: pn544: Convert to use devm_request_threaded_irq()

The error handling will be neat and short when using managed resources.

Convert the driver to use devm_request_threaded_irq().

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