linux/drivers/leds/trigger/ledtrig-timer.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * LED Kernel Timer Trigger
 *
 * Copyright 2005-2006 Openedhand Ltd.
 *
 * Author: Richard Purdie <[email protected]>
 */

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/ctype.h>
#include <linux/slab.h>
#include <linux/leds.h>

static ssize_t led_delay_on_show(struct device *dev,
		struct device_attribute *attr, char *buf)
{}

static ssize_t led_delay_on_store(struct device *dev,
		struct device_attribute *attr, const char *buf, size_t size)
{}

static ssize_t led_delay_off_show(struct device *dev,
		struct device_attribute *attr, char *buf)
{}

static ssize_t led_delay_off_store(struct device *dev,
		struct device_attribute *attr, const char *buf, size_t size)
{}

static DEVICE_ATTR(delay_on, 0644, led_delay_on_show, led_delay_on_store);
static DEVICE_ATTR(delay_off, 0644, led_delay_off_show, led_delay_off_store);

static struct attribute *timer_trig_attrs[] =;
ATTRIBUTE_GROUPS();

static void pattern_init(struct led_classdev *led_cdev)
{}

static int timer_trig_activate(struct led_classdev *led_cdev)
{}

static void timer_trig_deactivate(struct led_classdev *led_cdev)
{}

static struct led_trigger timer_led_trigger =;
module_led_trigger();

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