linux/drivers/auxdisplay/seg-led-gpio.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Driver for a 7-segment LED display
 *
 * The decimal point LED present on some devices is currently not
 * supported.
 *
 * Copyright (C) Allied Telesis Labs
 */

#include <linux/bitmap.h>
#include <linux/container_of.h>
#include <linux/errno.h>
#include <linux/gpio/consumer.h>
#include <linux/map_to_7segment.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/types.h>
#include <linux/workqueue.h>

#include "line-display.h"

struct seg_led_priv {};

static void seg_led_update(struct work_struct *work)
{}

static int seg_led_linedisp_get_map_type(struct linedisp *linedisp)
{}

static void seg_led_linedisp_update(struct linedisp *linedisp)
{}

static const struct linedisp_ops seg_led_linedisp_ops =;

static int seg_led_probe(struct platform_device *pdev)
{}

static void seg_led_remove(struct platform_device *pdev)
{}

static const struct of_device_id seg_led_of_match[] =;
MODULE_DEVICE_TABLE(of, seg_led_of_match);

static struct platform_driver seg_led_driver =;
module_platform_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_IMPORT_NS();