1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2014 Freescale Semiconductor, Inc
13 #include <linux/list.h>
16 int thermal_get_temp(struct udevice *dev, int *temp)
18 const struct dm_thermal_ops *ops = device_get_ops(dev);
23 return ops->get_temp(dev, temp);
26 UCLASS_DRIVER(thermal) = {