linux/drivers/thermal/kirkwood_thermal.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Kirkwood thermal sensor driver
 *
 * Copyright (C) 2012 Nobuhiro Iwamatsu <[email protected]>
 */
#include <linux/device.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/of.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/thermal.h>

#define KIRKWOOD_THERMAL_VALID_OFFSET
#define KIRKWOOD_THERMAL_VALID_MASK
#define KIRKWOOD_THERMAL_TEMP_OFFSET
#define KIRKWOOD_THERMAL_TEMP_MASK

/* Kirkwood Thermal Sensor Dev Structure */
struct kirkwood_thermal_priv {};

static int kirkwood_get_temp(struct thermal_zone_device *thermal,
			  int *temp)
{}

static struct thermal_zone_device_ops ops =;

static const struct of_device_id kirkwood_thermal_id_table[] =;

static int kirkwood_thermal_probe(struct platform_device *pdev)
{}

static void kirkwood_thermal_exit(struct platform_device *pdev)
{}

MODULE_DEVICE_TABLE(of, kirkwood_thermal_id_table);

static struct platform_driver kirkwood_thermal_driver =;

module_platform_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();