linux/drivers/leds/leds-lp8788.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * TI LP8788 MFD - keyled driver
 *
 * Copyright 2012 Texas Instruments
 *
 * Author: Milo(Woogyom) Kim <[email protected]>
 */

#include <linux/module.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/leds.h>
#include <linux/mutex.h>
#include <linux/mfd/lp8788.h>
#include <linux/mfd/lp8788-isink.h>

#define MAX_BRIGHTNESS
#define DEFAULT_LED_NAME

struct lp8788_led {};

struct lp8788_led_config {};

static struct lp8788_led_config default_led_config =;

static int lp8788_led_init_device(struct lp8788_led *led,
				struct lp8788_led_platform_data *pdata)
{}

static int lp8788_led_enable(struct lp8788_led *led,
			enum lp8788_isink_number num, int on)
{}

static int lp8788_brightness_set(struct led_classdev *led_cdev,
				enum led_brightness val)
{}

static int lp8788_led_probe(struct platform_device *pdev)
{}

static struct platform_driver lp8788_led_driver =;
module_platform_driver();

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