NFC: trf7970a: Add '_in_' to initiator routines
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 2 Sep 2014 22:12:39 +0000 (15:12 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 7 Sep 2014 21:13:45 +0000 (23:13 +0200)
Rename trf7970a_config_rf_tech() and trf7970a_config_framing()
to trf7970a_in_config_rf_tech() and trf7970a_in_config_framing(),
respectively to avoid confusion when target support is added.

Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/trf7970a.c

index b2d0fbf..e4671e5 100644 (file)
@@ -941,7 +941,7 @@ static int trf7970a_switch_rf(struct nfc_digital_dev *ddev, bool on)
        return ret;
 }
 
-static int trf7970a_config_rf_tech(struct trf7970a *trf, int tech)
+static int trf7970a_in_config_rf_tech(struct trf7970a *trf, int tech)
 {
        int ret = 0;
 
@@ -983,7 +983,7 @@ static int trf7970a_config_rf_tech(struct trf7970a *trf, int tech)
        return ret;
 }
 
-static int trf7970a_config_framing(struct trf7970a *trf, int framing)
+static int trf7970a_in_config_framing(struct trf7970a *trf, int framing)
 {
        u8 iso_ctrl = trf->iso_ctrl_tech;
        int ret;
@@ -1065,10 +1065,10 @@ static int trf7970a_in_configure_hw(struct nfc_digital_dev *ddev, int type,
 
        switch (type) {
        case NFC_DIGITAL_CONFIG_RF_TECH:
-               ret = trf7970a_config_rf_tech(trf, param);
+               ret = trf7970a_in_config_rf_tech(trf, param);
                break;
        case NFC_DIGITAL_CONFIG_FRAMING:
-               ret = trf7970a_config_framing(trf, param);
+               ret = trf7970a_in_config_framing(trf, param);
                break;
        default:
                dev_dbg(trf->dev, "Unknown type: %d\n", type);