diff options
author | Mark A. Greer <mgreer@animalcreek.com> | 2014-09-02 18:12:16 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-09-07 17:13:42 -0400 |
commit | cc8d7158644c439d946bfc65778a507b6f12b10d (patch) | |
tree | 1c7ba0a5d3c3f7ea24335a210c5e864c3f8af3a3 /drivers/nfc/trf7970a.c | |
parent | d3a6d33a7f72fa4d3bb0224da0839a5ca871d7a4 (diff) |
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.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/nfc/trf7970a.c b/drivers/nfc/trf7970a.c index 4387b55f9c70..509acac26afd 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, | |||
1201 | return -EINVAL; | 1201 | return -EINVAL; |
1202 | } | 1202 | } |
1203 | 1203 | ||
1204 | static int trf7970a_tg_listen_mdaa(struct nfc_digital_dev *ddev, | ||
1205 | struct digital_tg_mdaa_params *mdaa_params, | ||
1206 | u16 timeout, nfc_digital_cmd_complete_t cb, void *arg) | ||
1207 | { | ||
1208 | struct trf7970a *trf = nfc_digital_get_drvdata(ddev); | ||
1209 | |||
1210 | dev_dbg(trf->dev, "Unsupported interface\n"); | ||
1211 | |||
1212 | return -EINVAL; | ||
1213 | } | ||
1214 | |||
1215 | static void trf7970a_abort_cmd(struct nfc_digital_dev *ddev) | 1204 | static void trf7970a_abort_cmd(struct nfc_digital_dev *ddev) |
1216 | { | 1205 | { |
1217 | struct trf7970a *trf = nfc_digital_get_drvdata(ddev); | 1206 | struct trf7970a *trf = nfc_digital_get_drvdata(ddev); |
@@ -1240,7 +1229,6 @@ static struct nfc_digital_ops trf7970a_nfc_ops = { | |||
1240 | .tg_configure_hw = trf7970a_tg_configure_hw, | 1229 | .tg_configure_hw = trf7970a_tg_configure_hw, |
1241 | .tg_send_cmd = trf7970a_tg_send_cmd, | 1230 | .tg_send_cmd = trf7970a_tg_send_cmd, |
1242 | .tg_listen = trf7970a_tg_listen, | 1231 | .tg_listen = trf7970a_tg_listen, |
1243 | .tg_listen_mdaa = trf7970a_tg_listen_mdaa, | ||
1244 | .switch_rf = trf7970a_switch_rf, | 1232 | .switch_rf = trf7970a_switch_rf, |
1245 | .abort_cmd = trf7970a_abort_cmd, | 1233 | .abort_cmd = trf7970a_abort_cmd, |
1246 | }; | 1234 | }; |