Searched refs:p_lm70 (Results 1 – 1 of 1) sorted by relevance
48 struct lm70 *p_lm70 = dev_get_drvdata(dev); in temp1_input_show() local49 struct spi_device *spi = p_lm70->spi; in temp1_input_show()91 switch (p_lm70->chip) { in temp1_input_show()109 mutex_unlock(&p_lm70->lock); in temp1_input_show()154 struct lm70 *p_lm70; in lm70_probe() local169 p_lm70 = devm_kzalloc(&spi->dev, sizeof(*p_lm70), GFP_KERNEL); in lm70_probe()170 if (!p_lm70) in lm70_probe()173 mutex_init(&p_lm70->lock); in lm70_probe()174 p_lm70->chip = chip; in lm70_probe()175 p_lm70->spi = spi; in lm70_probe()[all …]
Completed in 3 milliseconds