#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/acpi.h>
#include <linux/backlight.h>
#include <linux/thermal.h>
#include <acpi/video.h>
#define INT3406_BRIGHTNESS_LIMITS_CHANGED …
struct int3406_thermal_data { … };
#define ACPI_TO_RAW(v, d) …
#define RAW_TO_ACPI(v, d) …
static int
int3406_thermal_get_max_state(struct thermal_cooling_device *cooling_dev,
unsigned long *state)
{ … }
static int
int3406_thermal_set_cur_state(struct thermal_cooling_device *cooling_dev,
unsigned long state)
{ … }
static int
int3406_thermal_get_cur_state(struct thermal_cooling_device *cooling_dev,
unsigned long *state)
{ … }
static const struct thermal_cooling_device_ops video_cooling_ops = …;
static int int3406_thermal_get_index(int *array, int nr, int value)
{ … }
static void int3406_thermal_get_limit(struct int3406_thermal_data *d)
{ … }
static void int3406_notify(acpi_handle handle, u32 event, void *data)
{ … }
static int int3406_thermal_probe(struct platform_device *pdev)
{ … }
static void int3406_thermal_remove(struct platform_device *pdev)
{ … }
static const struct acpi_device_id int3406_thermal_match[] = …;
MODULE_DEVICE_TABLE(acpi, int3406_thermal_match);
static struct platform_driver int3406_thermal_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;