linux/drivers/leds/leds-dac124s085.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright 2008
 * Guennadi Liakhovetski, DENX Software Engineering, <[email protected]>
 *
 * LED driver for the DAC124S085 SPI DAC
 */

#include <linux/leds.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <linux/spi/spi.h>

struct dac124s085_led {};

struct dac124s085 {};

#define REG_WRITE
#define REG_WRITE_UPDATE
#define ALL_WRITE_UPDATE
#define POWER_DOWN_OUTPUT

static int dac124s085_set_brightness(struct led_classdev *ldev,
				      enum led_brightness brightness)
{}

static int dac124s085_probe(struct spi_device *spi)
{}

static void dac124s085_remove(struct spi_device *spi)
{}

static struct spi_driver dac124s085_driver =;

module_spi_driver();

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