linux/drivers/thermal/intel/int340x_thermal/int3403_thermal.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * ACPI INT3403 thermal driver
 * Copyright (c) 2013, Intel Corporation.
 */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/acpi.h>
#include <linux/thermal.h>
#include <linux/platform_device.h>
#include "int340x_thermal_zone.h"

#define INT3403_TYPE_SENSOR
#define INT3403_TYPE_CHARGER
#define INT3403_TYPE_BATTERY
#define INT3403_PERF_CHANGED_EVENT
#define INT3403_PERF_TRIP_POINT_CHANGED
#define INT3403_THERMAL_EVENT

/* Preserved structure for future expandbility */
struct int3403_sensor {};

struct int3403_cdev {};

struct int3403_priv {};

static void int3403_notify(acpi_handle handle,
		u32 event, void *data)
{}

static int int3403_sensor_add(struct int3403_priv *priv)
{}

static int int3403_sensor_remove(struct int3403_priv *priv)
{}

/* INT3403 Cooling devices */
static int int3403_get_max_state(struct thermal_cooling_device *cdev,
				 unsigned long *state)
{}

static int int3403_get_cur_state(struct thermal_cooling_device *cdev,
				 unsigned long *state)
{}

static int
int3403_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state)
{}

static const struct thermal_cooling_device_ops int3403_cooling_ops =;

static int int3403_cdev_add(struct int3403_priv *priv)
{}

static int int3403_cdev_remove(struct int3403_priv *priv)
{}

static int int3403_add(struct platform_device *pdev)
{}

static void int3403_remove(struct platform_device *pdev)
{}

static const struct acpi_device_id int3403_device_ids[] =;
MODULE_DEVICE_TABLE(acpi, int3403_device_ids);

static struct platform_driver int3403_driver =;

module_platform_driver();

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