#include <linux/i2c.h>
#include <linux/iio/iio.h>
#include <linux/module.h>
#include <linux/regmap.h>
#include "ad7091r-base.h"
static const struct iio_chan_spec ad7091r5_channels_irq[] = …;
static const struct iio_chan_spec ad7091r5_channels_noirq[] = …;
static int ad7091r5_set_mode(struct ad7091r_state *st, enum ad7091r_mode mode)
{ … }
static unsigned int ad7091r5_reg_result_chan_id(unsigned int val)
{ … }
static const struct ad7091r_chip_info ad7091r5_chip_info_irq = …;
static const struct ad7091r_chip_info ad7091r5_chip_info_noirq = …;
static const struct regmap_config ad7091r_regmap_config = …;
static void ad7091r5_regmap_init(struct ad7091r_state *st,
const struct regmap_config *regmap_conf)
{ … }
static struct ad7091r_init_info ad7091r5_init_info = …;
static int ad7091r5_i2c_probe(struct i2c_client *i2c)
{ … }
static const struct of_device_id ad7091r5_dt_ids[] = …;
MODULE_DEVICE_TABLE(of, ad7091r5_dt_ids);
static const struct i2c_device_id ad7091r5_i2c_ids[] = …;
MODULE_DEVICE_TABLE(i2c, ad7091r5_i2c_ids);
static struct i2c_driver ad7091r5_driver = …;
module_i2c_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_IMPORT_NS(…);