NFC: pn533: Add missing usb_put_dev
authorMarina Makienko <makienko@ispras.ru>
Tue, 26 Feb 2013 07:41:18 +0000 (11:41 +0400)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 11 Apr 2013 14:29:10 +0000 (16:29 +0200)
commit7c5a54fb869d980c2a3c0972fe1e22816dd5b7b2
treefe4957f5711946500773152faeb696898de1f694
parent6d2cd978e5e14c47fa4f8ab3a136e38aceb4940d
NFC: pn533: Add missing usb_put_dev

Add missing usb_put_dev on failure path in pn533_probe().

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Marina Makienko <makienko@ispras.ru>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/pn533.c