/* Note that as the notification code holds the regulator lock, we have to schedule an update of the supply voltage rather than getting it directly.  */
static int sht15_invalidate_voltage(struct notifier_block *nb, unsigned long event, void *ignored)
/* Note that as the notification code holds the regulator lock, we have to schedule an update of the supply voltage rather than getting it directly.  */
static int sht15_invalidate_voltage(struct notifier_block *nb, unsigned long event, void *ignored)
{
	struct sht15_data *data = container_of(nb, struct sht15_data, nb);
	if (event == REGULATOR_EVENT_VOLTAGE_CHANGE)
		data->supply_uV_valid = false;
	schedule_work(&data->update_supply_work);
	return NOTIFY_OK;
}