Searched refs:p_lm70 (Results 1 – 1 of 1) sorted by relevance
49 struct lm70 *p_lm70 = dev_get_drvdata(dev); in temp1_input_show() local50 struct spi_device *spi = p_lm70->spi; in temp1_input_show()98 switch (p_lm70->chip) { in temp1_input_show()120 mutex_unlock(&p_lm70->lock); in temp1_input_show()169 struct lm70 *p_lm70; in lm70_probe() local184 p_lm70 = devm_kzalloc(&spi->dev, sizeof(*p_lm70), GFP_KERNEL); in lm70_probe()185 if (!p_lm70) in lm70_probe()188 mutex_init(&p_lm70->lock); in lm70_probe()189 p_lm70->chip = chip; in lm70_probe()190 p_lm70->spi = spi; in lm70_probe()[all …]