Searched refs:nfc_spi_dev (Results 1 – 1 of 1) sorted by relevance
1063 static int st95hf_probe(struct spi_device *nfc_spi_dev) in st95hf_probe() argument1065 struct device *dev = &nfc_spi_dev->dev; in st95hf_probe()1071 nfc_info(&nfc_spi_dev->dev, "ST95HF driver probe called.\n"); in st95hf_probe()1073 st95context = devm_kzalloc(&nfc_spi_dev->dev, in st95hf_probe()1081 spicontext->spidev = nfc_spi_dev; in st95hf_probe()1086 if (device_property_present(&nfc_spi_dev->dev, "st95hfvin")) { in st95hf_probe()1088 devm_regulator_get(&nfc_spi_dev->dev, in st95hf_probe()1091 dev_err(&nfc_spi_dev->dev, "failed to acquire regulator\n"); in st95hf_probe()1097 dev_err(&nfc_spi_dev->dev, "failed to enable regulator\n"); in st95hf_probe()1109 dev_set_drvdata(&nfc_spi_dev->dev, spicontext); in st95hf_probe()[all …]