NFC: pn533: Fix error return code in pn533_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 7 May 2013 12:07:52 +0000 (20:07 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 13 Jun 2013 22:18:58 +0000 (00:18 +0200)
Fix to return -ENOMEM in the nfc device alloc error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

No differences found