Commit f23b7352 authored by Mark A. Greer's avatar Mark A. Greer Committed by Samuel Ortiz

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: default avatarMark A. Greer <mgreer@animalcreek.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 6afed0eb
...@@ -1297,7 +1297,7 @@ static int trf7970a_probe(struct spi_device *spi) ...@@ -1297,7 +1297,7 @@ static int trf7970a_probe(struct spi_device *spi)
} }
ret = devm_gpio_request_one(trf->dev, trf->en_gpio, 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) { if (ret) {
dev_err(trf->dev, "Can't request EN GPIO: %d\n", ret); dev_err(trf->dev, "Can't request EN GPIO: %d\n", ret);
return ret; return ret;
...@@ -1310,7 +1310,7 @@ static int trf7970a_probe(struct spi_device *spi) ...@@ -1310,7 +1310,7 @@ static int trf7970a_probe(struct spi_device *spi)
} }
ret = devm_gpio_request_one(trf->dev, trf->en2_gpio, 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) { if (ret) {
dev_err(trf->dev, "Can't request EN2 GPIO: %d\n", ret); dev_err(trf->dev, "Can't request EN2 GPIO: %d\n", ret);
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment