NFC: nfcmrvl: remove integration related settings
authorVincent Cuissard <cuissard@marvell.com>
Thu, 11 Jun 2015 09:25:42 +0000 (11:25 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 11 Jun 2015 21:16:32 +0000 (23:16 +0200)
These settings are related to a specific integration that requires
the firmware to drive some GPIOs for external RF coexistency.

Since this is really linked to specific hardware integration let's
remove them.

Signed-off-by: Vincent Cuissard <cuissard@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/nfcmrvl/main.c

index ad4933cefbd1b2c60ae5ef23aeece275d2fcf0fd..acb37c0c5d8cccaaf7202dae919252926a63337a 100644 (file)
@@ -68,15 +68,6 @@ static int nfcmrvl_nci_send(struct nci_dev *ndev, struct sk_buff *skb)
 
 static int nfcmrvl_nci_setup(struct nci_dev *ndev)
 {
-       __u8 val;
-
-       val = NFCMRVL_GPIO_PIN_NFC_NOT_ALLOWED;
-       nci_set_config(ndev, NFCMRVL_NOT_ALLOWED_ID, 1, &val);
-       val = NFCMRVL_GPIO_PIN_NFC_ACTIVE;
-       nci_set_config(ndev, NFCMRVL_ACTIVE_ID, 1, &val);
-       val = NFCMRVL_EXT_COEX_ENABLE;
-       nci_set_config(ndev, NFCMRVL_EXT_COEX_ID, 1, &val);
-
        return 0;
 }