Searched refs:nfc_spi_dev (Results 1 – 1 of 1) sorted by relevance
1068 static int st95hf_probe(struct spi_device *nfc_spi_dev) in st95hf_probe() argument1075 nfc_info(&nfc_spi_dev->dev, "ST95HF driver probe called.\n"); in st95hf_probe()1077 st95context = devm_kzalloc(&nfc_spi_dev->dev, in st95hf_probe()1085 spicontext->spidev = nfc_spi_dev; in st95hf_probe()1090 if (device_property_present(&nfc_spi_dev->dev, "st95hfvin")) { in st95hf_probe()1092 devm_regulator_get(&nfc_spi_dev->dev, in st95hf_probe()1095 dev_err(&nfc_spi_dev->dev, "failed to acquire regulator\n"); in st95hf_probe()1101 dev_err(&nfc_spi_dev->dev, "failed to enable regulator\n"); in st95hf_probe()1113 dev_set_drvdata(&nfc_spi_dev->dev, spicontext); in st95hf_probe()1116 of_get_named_gpio(nfc_spi_dev->dev.of_node, in st95hf_probe()[all …]