linux/drivers/video/backlight/led_bl.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2015-2019 Texas Instruments Incorporated -  http://www.ti.com/
 * Author: Tomi Valkeinen <[email protected]>
 *
 * Based on pwm_bl.c
 */

#include <linux/backlight.h>
#include <linux/leds.h>
#include <linux/module.h>
#include <linux/platform_device.h>

struct led_bl_data {};

static void led_bl_set_brightness(struct led_bl_data *priv, int level)
{}

static void led_bl_power_off(struct led_bl_data *priv)
{}

static int led_bl_update_status(struct backlight_device *bl)
{}

static const struct backlight_ops led_bl_ops =;

static int led_bl_get_leds(struct device *dev,
			   struct led_bl_data *priv)
{}

static int led_bl_parse_levels(struct device *dev,
			   struct led_bl_data *priv)
{}

static int led_bl_probe(struct platform_device *pdev)
{}

static void led_bl_remove(struct platform_device *pdev)
{}

static const struct of_device_id led_bl_of_match[] =;

MODULE_DEVICE_TABLE(of, led_bl_of_match);

static struct platform_driver led_bl_driver =;

module_platform_driver();

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