linux/drivers/video/backlight/gpio_backlight.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * gpio_backlight.c - Simple GPIO-controlled backlight
 */

#include <linux/backlight.h>
#include <linux/err.h>
#include <linux/gpio/consumer.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_data/gpio_backlight.h>
#include <linux/platform_device.h>
#include <linux/property.h>
#include <linux/slab.h>

struct gpio_backlight {};

static int gpio_backlight_update_status(struct backlight_device *bl)
{}

static bool gpio_backlight_controls_device(struct backlight_device *bl,
					   struct device *display_dev)
{}

static const struct backlight_ops gpio_backlight_ops =;

static int gpio_backlight_probe(struct platform_device *pdev)
{}

static struct of_device_id gpio_backlight_of_match[] =;

MODULE_DEVICE_TABLE(of, gpio_backlight_of_match);

static struct platform_driver gpio_backlight_driver =;

module_platform_driver();

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