linux/drivers/staging/iio/addac/adt7316-i2c.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * I2C bus driver for ADT7316/7/8 ADT7516/7/9 digital temperature
 * sensor, ADC and DAC
 *
 * Copyright 2010 Analog Devices Inc.
 */

#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/module.h>

#include "adt7316.h"

/*
 * adt7316 register access by I2C
 */
static int adt7316_i2c_read(void *client, u8 reg, u8 *data)
{}

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

static int adt7316_i2c_multi_read(void *client, u8 reg, u8 count, u8 *data)
{}

static int adt7316_i2c_multi_write(void *client, u8 reg, u8 count, u8 *data)
{}

/*
 * device probe and remove
 */

static int adt7316_i2c_probe(struct i2c_client *client)
{}

static const struct i2c_device_id adt7316_i2c_id[] =;

MODULE_DEVICE_TABLE(i2c, adt7316_i2c_id);

static const struct of_device_id adt7316_of_match[] =;

MODULE_DEVICE_TABLE(of, adt7316_of_match);

static struct i2c_driver adt7316_driver =;
module_i2c_driver();

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