summaryrefslogtreecommitdiffstats
path: root/drivers/nfc/trf7970a.c
diff options
context:
space:
mode:
authorMark A. Greer <mgreer@animalcreek.com>2014-08-07 17:41:47 -0700
committerSamuel Ortiz <sameo@linux.intel.com>2014-09-01 00:06:56 +0200
commitf23b73526b82ca2ef333362e704a51d817c1ffc1 (patch)
treecd912ebdd7360d13133215164796b3cd62da06f7 /drivers/nfc/trf7970a.c
parent6afed0eb8c4158c99845f8d30cd5c3fd8e4855d9 (diff)
downloadop-kernel-dev-f23b73526b82ca2ef333362e704a51d817c1ffc1.zip
op-kernel-dev-f23b73526b82ca2ef333362e704a51d817c1ffc1.tar.gz
NFC: trf7970a: Make gpio labels more readable
Make the labels for the two gpio enable lines more user friendly by prefixing them with the driver name. 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nfc/trf7970a.c b/drivers/nfc/trf7970a.c
index 870867d..3e950dd 100644
--- a/drivers/nfc/trf7970a.c
+++ b/drivers/nfc/trf7970a.c
@@ -1297,7 +1297,7 @@ static int trf7970a_probe(struct spi_device *spi)
}
ret = devm_gpio_request_one(trf->dev, trf->en_gpio,
- GPIOF_DIR_OUT | GPIOF_INIT_LOW, "EN");
+ GPIOF_DIR_OUT | GPIOF_INIT_LOW, "trf7970a EN");
if (ret) {
dev_err(trf->dev, "Can't request EN GPIO: %d\n", ret);
return ret;
@@ -1310,7 +1310,7 @@ static int trf7970a_probe(struct spi_device *spi)
}
ret = devm_gpio_request_one(trf->dev, trf->en2_gpio,
- GPIOF_DIR_OUT | GPIOF_INIT_LOW, "EN2");
+ GPIOF_DIR_OUT | GPIOF_INIT_LOW, "trf7970a EN2");
if (ret) {
dev_err(trf->dev, "Can't request EN2 GPIO: %d\n", ret);
return ret;
OpenPOWER on IntegriCloud