NFC: pn533: change order of free_irq and dev unregistration
authorAndrey Rusalin <arusalin@dev.rtsoft.ru>
Wed, 28 Dec 2016 17:10:57 +0000 (20:10 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Sat, 1 Apr 2017 23:06:21 +0000 (01:06 +0200)
commit068a496c4525c638ffab56449d905b88ef97fe32
tree4d5652fdf8e2f47b3479921d3902dc211c578754
parentb6355fb3f5f40bbce165847d277e64896cab8f95
NFC: pn533: change order of free_irq and dev unregistration

Change order of free_irq and dev unregistration.
It fixes situation when device already unregistered and
an interrupt happens and nobody can handle it.

Signed-off-by: Andrey Rusalin <arusalin@dev.rtsoft.ru>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/pn533/i2c.c