]> git.openfabrics.org - ~emulex/infiniband.git/commit
NFC: trf7970a: Return error code when turning on RF fails
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 2 Sep 2014 22:12:33 +0000 (15:12 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 7 Sep 2014 21:13:44 +0000 (23:13 +0200)
commit0a1de84205d3fe7baa3d013ebf703416b1919ecc
treef2312b0147d6be8c0d988f589efa9afb8e0365a8
parentafa5b5f13e0e2372e440f3ab44620d4e10fca496
NFC: trf7970a: Return error code when turning on RF fails

trf7970a_switch_rf_on() is currently a void function
but turning on the RF could fail so it should return
a return code.  That return code should also be
propagated back to the entity that initiated the
action.

Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/trf7970a.c