Home
last modified time | relevance | path

Searched refs:nfc_spi_dev (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/nfc/st95hf/
H A Dcore.c1064 static int st95hf_probe(struct spi_device *nfc_spi_dev) in st95hf_probe() argument
1073 st95context = devm_kzalloc(&nfc_spi_dev->dev, in st95hf_probe()
1081 spicontext->spidev = nfc_spi_dev; in st95hf_probe()
1088 devm_regulator_get(&nfc_spi_dev->dev, in st95hf_probe()
1109 dev_set_drvdata(&nfc_spi_dev->dev, spicontext); in st95hf_probe()
1112 of_get_named_gpio(nfc_spi_dev->dev.of_node, in st95hf_probe()
1116 dev_err(&nfc_spi_dev->dev, "No valid enable gpio\n"); in st95hf_probe()
1127 if (nfc_spi_dev->irq > 0) { in st95hf_probe()
1128 if (devm_request_threaded_irq(&nfc_spi_dev->dev, in st95hf_probe()
1129 nfc_spi_dev->irq, in st95hf_probe()
[all …]