]>
git.ipfire.org Git - people/ms/u-boot.git/blob - drivers/thermal/thermal-uclass.c
2 * (C) Copyright 2014 Freescale Semiconductor, Inc
4 * SPDX-License-Identifier: GPL-2.0+
14 #include <linux/list.h>
17 int thermal_get_temp(struct udevice
*dev
, int *temp
)
19 const struct dm_thermal_ops
*ops
= device_get_ops(dev
);
24 return ops
->get_temp(dev
, temp
);
27 UCLASS_DRIVER(thermal
) = {