Searched refs:nfc_spi_dev (Results 1 – 1 of 1) sorted by relevance
1077 static int st95hf_probe(struct spi_device *nfc_spi_dev) in st95hf_probe() argument1084 nfc_info(&nfc_spi_dev->dev, "ST95HF driver probe called.\n"); in st95hf_probe()1086 st95context = devm_kzalloc(&nfc_spi_dev->dev, in st95hf_probe()1094 spicontext->spidev = nfc_spi_dev; in st95hf_probe()1099 if (device_property_present(&nfc_spi_dev->dev, "st95hfvin")) { in st95hf_probe()1101 devm_regulator_get(&nfc_spi_dev->dev, in st95hf_probe()1104 dev_err(&nfc_spi_dev->dev, "failed to acquire regulator\n"); in st95hf_probe()1110 dev_err(&nfc_spi_dev->dev, "failed to enable regulator\n"); in st95hf_probe()1122 dev_set_drvdata(&nfc_spi_dev->dev, spicontext); in st95hf_probe()1125 of_get_named_gpio(nfc_spi_dev->dev.of_node, in st95hf_probe()[all …]