summaryrefslogtreecommitdiffstats
path: root/drivers/nfc/trf7970a.c
diff options
context:
space:
mode:
authorMark A. Greer <mgreer@animalcreek.com>2014-09-02 15:12:16 -0700
committerSamuel Ortiz <sameo@linux.intel.com>2014-09-07 23:13:42 +0200
commitcc8d7158644c439d946bfc65778a507b6f12b10d (patch)
tree1c7ba0a5d3c3f7ea24335a210c5e864c3f8af3a3 /drivers/nfc/trf7970a.c
parentd3a6d33a7f72fa4d3bb0224da0839a5ca871d7a4 (diff)
downloadop-kernel-dev-cc8d7158644c439d946bfc65778a507b6f12b10d.zip
op-kernel-dev-cc8d7158644c439d946bfc65778a507b6f12b10d.tar.gz
NFC: trf7970a: Remove trf7970a_tg_listen_mdaa()
Currently, the digital layer 'tg_listen_mdaa' hook is not used and it isn't necessary to have a stub routine so remove it. Signed-off-by: Mark A. Greer <mgreer@animalcreek.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/trf7970a.c')
-rw-r--r--drivers/nfc/trf7970a.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/nfc/trf7970a.c b/drivers/nfc/trf7970a.c
index 4387b55..509acac 100644
--- a/drivers/nfc/trf7970a.c
+++ b/drivers/nfc/trf7970a.c
@@ -1201,17 +1201,6 @@ static int trf7970a_tg_listen(struct nfc_digital_dev *ddev,
return -EINVAL;
}
-static int trf7970a_tg_listen_mdaa(struct nfc_digital_dev *ddev,
- struct digital_tg_mdaa_params *mdaa_params,
- u16 timeout, nfc_digital_cmd_complete_t cb, void *arg)
-{
- struct trf7970a *trf = nfc_digital_get_drvdata(ddev);
-
- dev_dbg(trf->dev, "Unsupported interface\n");
-
- return -EINVAL;
-}
-
static void trf7970a_abort_cmd(struct nfc_digital_dev *ddev)
{
struct trf7970a *trf = nfc_digital_get_drvdata(ddev);
@@ -1240,7 +1229,6 @@ static struct nfc_digital_ops trf7970a_nfc_ops = {
.tg_configure_hw = trf7970a_tg_configure_hw,
.tg_send_cmd = trf7970a_tg_send_cmd,
.tg_listen = trf7970a_tg_listen,
- .tg_listen_mdaa = trf7970a_tg_listen_mdaa,
.switch_rf = trf7970a_switch_rf,
.abort_cmd = trf7970a_abort_cmd,
};
OpenPOWER on IntegriCloud