linux/drivers/leds/leds-da903x.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * LEDs driver for Dialog Semiconductor DA9030/DA9034
 *
 * Copyright (C) 2008 Compulab, Ltd.
 *	Mike Rapoport <[email protected]>
 *
 * Copyright (C) 2006-2008 Marvell International Ltd.
 *	Eric Miao <[email protected]>
 */

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/leds.h>
#include <linux/mfd/da903x.h>
#include <linux/slab.h>

#define DA9030_LED1_CONTROL
#define DA9030_LED2_CONTROL
#define DA9030_LED3_CONTROL
#define DA9030_LED4_CONTROL
#define DA9030_LEDPC_CONTROL
#define DA9030_MISC_CONTROL_A

#define DA9034_LED1_CONTROL
#define DA9034_LED2_CONTROL
#define DA9034_VIBRA

struct da903x_led {};

#define DA9030_LED_OFFSET(id)
#define DA9034_LED_OFFSET(id)

static int da903x_led_set(struct led_classdev *led_cdev,
			   enum led_brightness value)
{}

static int da903x_led_probe(struct platform_device *pdev)
{}

static void da903x_led_remove(struct platform_device *pdev)
{}

static struct platform_driver da903x_led_driver =;

module_platform_driver();

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