1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2014 Freescale Semiconductor, Inc
6 #define LOG_CATEGORY UCLASS_THERMAL
15 #include <linux/list.h>
18 int thermal_get_temp(struct udevice *dev, int *temp)
20 const struct dm_thermal_ops *ops = device_get_ops(dev);
25 return ops->get_temp(dev, temp);
28 UCLASS_DRIVER(thermal) = {