NFC: st21nfcb: Convert to use devm_gpio_request_one
authorChristophe Ricard <christophe.ricard@gmail.com>
Mon, 28 Jul 2014 16:11:33 +0000 (18:11 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 7 Sep 2014 21:56:47 +0000 (23:56 +0200)
commit56ee645e304c9b86b48768de8e52babd5b6e1d8a
tree66cfb331b69b6090e369e3387f4ce0320a34c0c1
parent361325e21d3a06a31ab53baf452c0946743b7abb
NFC: st21nfcb: Convert to use devm_gpio_request_one

Simplify the code a bit as mention by Axel Lin in a previous patch for
st21nfca.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st21nfcb/i2c.c