NFC: fdp: Convert to use devres API
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 19 Jun 2017 10:08:50 +0000 (13:08 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 22 Jun 2017 21:51:44 +0000 (23:51 +0200)
commit7b9fcda91e18f13905e07f0145cc7efbe0e503dc
tree763db1d7c107ccce22d83467afd33f8c142730b1
parent8597c0920d6f4af66d2100b93599b0c0850dffdd
NFC: fdp: Convert to use devres API

It looks like there are two leftovers, at least one of which can leak
the resource (IRQ).

Convert both places to use managed variants of the functions.

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