linux/drivers/mfd/stmpe-spi.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * ST Microelectronics MFD: stmpe's spi client specific driver
 *
 * Copyright (C) ST Microelectronics SA 2011
 *
 * Author: Viresh Kumar <[email protected]> for ST Microelectronics
 */

#include <linux/spi/spi.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/types.h>
#include "stmpe.h"

#define READ_CMD

static int spi_reg_read(struct stmpe *stmpe, u8 reg)
{}

static int spi_reg_write(struct stmpe *stmpe, u8 reg, u8 val)
{}

static int spi_block_read(struct stmpe *stmpe, u8 reg, u8 length, u8 *values)
{}

static int spi_block_write(struct stmpe *stmpe, u8 reg, u8 length,
		const u8 *values)
{}

static void spi_init(struct stmpe *stmpe)
{}

static struct stmpe_client_info spi_ci =;

static int
stmpe_spi_probe(struct spi_device *spi)
{}

static void stmpe_spi_remove(struct spi_device *spi)
{}

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

static const struct spi_device_id stmpe_spi_id[] =;
MODULE_DEVICE_TABLE(spi, stmpe_id);

static struct spi_driver stmpe_spi_driver =;

static int __init stmpe_init(void)
{}
subsys_initcall(stmpe_init);

static void __exit stmpe_exit(void)
{}
module_exit(stmpe_exit);

MODULE_DESCRIPTION();
MODULE_AUTHOR();