#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/gpio/consumer.h>
#include <linux/lcd.h>
#include <linux/spi/spi.h>
#include <linux/module.h>
struct lms283gf05_state { … };
struct lms283gf05_seq { … };
static const struct lms283gf05_seq disp_initseq[] = …;
static const struct lms283gf05_seq disp_pdwnseq[] = …;
static void lms283gf05_reset(struct gpio_desc *gpiod)
{ … }
static void lms283gf05_toggle(struct spi_device *spi,
const struct lms283gf05_seq *seq, int sz)
{ … }
static int lms283gf05_power_set(struct lcd_device *ld, int power)
{ … }
static const struct lcd_ops lms_ops = …;
static int lms283gf05_probe(struct spi_device *spi)
{ … }
static struct spi_driver lms283gf05_driver = …;
module_spi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;