NFC: st21nfcb: Move powered flag from phy to ndlc layer
authorChristophe Ricard <christophe.ricard@gmail.com>
Sat, 6 Jun 2015 11:16:50 +0000 (13:16 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 8 Jun 2015 22:34:25 +0000 (00:34 +0200)
commit183fe2d06dba2f45ae47360cdb911f95551917ed
tree6bb971b0e7ee8695cbb0d8f12f30e6eef9329521
parente8b72c205e5e02b6574be1e83c0c8c99335f8288
NFC: st21nfcb: Move powered flag from phy to ndlc layer

The powered flag can be set from the ndlc_open and ndlc_close layer.

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