Skip to content

Commit f23b735

Browse files
mgreerazSamuel Ortiz
authored andcommitted
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>
1 parent 6afed0e commit f23b735

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/nfc/trf7970a.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,7 @@ static int trf7970a_probe(struct spi_device *spi)
12971297
}
12981298

12991299
ret = devm_gpio_request_one(trf->dev, trf->en_gpio,
1300-
GPIOF_DIR_OUT | GPIOF_INIT_LOW, "EN");
1300+
GPIOF_DIR_OUT | GPIOF_INIT_LOW, "trf7970a EN");
13011301
if (ret) {
13021302
dev_err(trf->dev, "Can't request EN GPIO: %d\n", ret);
13031303
return ret;
@@ -1310,7 +1310,7 @@ static int trf7970a_probe(struct spi_device *spi)
13101310
}
13111311

13121312
ret = devm_gpio_request_one(trf->dev, trf->en2_gpio,
1313-
GPIOF_DIR_OUT | GPIOF_INIT_LOW, "EN2");
1313+
GPIOF_DIR_OUT | GPIOF_INIT_LOW, "trf7970a EN2");
13141314
if (ret) {
13151315
dev_err(trf->dev, "Can't request EN2 GPIO: %d\n", ret);
13161316
return ret;

0 commit comments

Comments
 (0)