NFC: st21nfca: Convert to use devm_gpio_request_one
authorAxel Lin <axel.lin@ingics.com>
Mon, 28 Jul 2014 16:11:29 +0000 (18:11 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 7 Sep 2014 21:56:46 +0000 (23:56 +0200)
commit0be8ce737c1f052a1811d029f8afb03583f7238f
treecae7b88e7b9301046c9f1747632bc644abb7ba6c
parentce3a5de7f58f18976b6536d8ea663f90da0e8093
NFC: st21nfca: Convert to use devm_gpio_request_one

This simplifies the code a bit.

Acked-by: Christophe RICARD <christophe-h.ricard@st.com>
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st21nfca/i2c.c