linux/drivers/misc/ad525x_dpot-spi.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Driver for the Analog Devices digital potentiometers (SPI bus)
 *
 * Copyright (C) 2010-2011 Michael Hennerich, Analog Devices Inc.
 */

#include <linux/spi/spi.h>
#include <linux/module.h>

#include "ad525x_dpot.h"

/* SPI bus functions */
static int write8(void *client, u8 val)
{}

static int write16(void *client, u8 reg, u8 val)
{}

static int write24(void *client, u8 reg, u16 val)
{}

static int read8(void *client)
{}

static int read16(void *client, u8 reg)
{}

static int read24(void *client, u8 reg)
{}

static const struct ad_dpot_bus_ops bops =;
static int ad_dpot_spi_probe(struct spi_device *spi)
{}

static void ad_dpot_spi_remove(struct spi_device *spi)
{}

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

static struct spi_driver ad_dpot_spi_driver =;

module_spi_driver();

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