]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: pn544_i2c: Fix null pointer exception when not using platform data
authorClement Perrochaud <clement.perrochaud@nxp.com>
Tue, 8 Apr 2014 11:13:49 +0000 (11:13 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 21 Apr 2014 22:37:29 +0000 (00:37 +0200)
commitff9ce664a1cdbea50dcb1e4ed33ce91d9b6b75fb
tree5637d0a50d2fba4b72e15d7c5e206768837dc7d3
parent9695ed9606b0fb15c603a33f5bb136afb62ddc5b
NFC: pn544_i2c: Fix null pointer exception when not using platform data

Fixes a null pointer exception occurring when the IRQ request in
pn544_hci_i2c_probe fails and no platform data is available.

Signed-off-by: Clément Perrochaud <clement.perrochaud@nxp.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/pn544/i2c.c