linux/drivers/thermal/gov_user_space.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 *  user_space.c - A simple user space Thermal events notifier
 *
 *  Copyright (C) 2012 Intel Corp
 *  Copyright (C) 2012 Durgadoss R <[email protected]>
 *
 *  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 *
 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 */

#include <linux/slab.h>
#include <linux/thermal.h>

#include "thermal_core.h"

static int user_space_bind(struct thermal_zone_device *tz)
{}

/**
 * notify_user_space - Notifies user space about thermal events
 * @tz: thermal_zone_device
 * @trip: trip point
 * @crossed_up: whether or not the trip has been crossed on the way up
 *
 * This function notifies the user space through UEvents.
 */
static void notify_user_space(struct thermal_zone_device *tz,
			      const struct thermal_trip *trip,
			      bool crossed_up)
{}

static struct thermal_governor thermal_gov_user_space =;
THERMAL_GOVERNOR_DECLARE();