#define pr_fmt(fmt) …
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/gpio/consumer.h>
#include <linux/lcd.h>
#include <linux/slab.h>
#include <linux/regulator/consumer.h>
#include <linux/spi/spi.h>
struct l4f00242t03_priv { … };
static void l4f00242t03_reset(struct gpio_desc *gpiod)
{ … }
#define param(x) …
static void l4f00242t03_lcd_init(struct spi_device *spi)
{ … }
static void l4f00242t03_lcd_powerdown(struct spi_device *spi)
{ … }
static int l4f00242t03_lcd_power_get(struct lcd_device *ld)
{ … }
static int l4f00242t03_lcd_power_set(struct lcd_device *ld, int power)
{ … }
static const struct lcd_ops l4f_ops = …;
static int l4f00242t03_probe(struct spi_device *spi)
{ … }
static void l4f00242t03_remove(struct spi_device *spi)
{ … }
static void l4f00242t03_shutdown(struct spi_device *spi)
{ … }
static struct spi_driver l4f00242t03_driver = …;
module_spi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;