Searched refs:sr_thermal (Results 1 – 1 of 1) sorted by relevance
24 struct sr_thermal *priv;27 struct sr_thermal { struct36 struct sr_thermal *sr_thermal = tmon->priv; in sr_get_temp() argument51 struct sr_thermal *sr_thermal; in sr_thermal_probe() local58 sr_thermal = devm_kzalloc(dev, sizeof(*sr_thermal), GFP_KERNEL); in sr_thermal_probe()59 if (!sr_thermal) in sr_thermal_probe()69 if (IS_ERR(sr_thermal->regs)) { in sr_thermal_probe()71 return PTR_ERR(sr_thermal->regs); in sr_thermal_probe()78 tmon = sr_thermal->tmon; in sr_thermal_probe()86 tmon->priv = sr_thermal; in sr_thermal_probe()[all …]
Completed in 2 milliseconds