linux/drivers/iio/chemical/ens160_i2c.c

// SPDX-License-Identifier: GPL-2.0
/*
 * ScioSense ENS160 multi-gas sensor I2C driver
 *
 * Copyright (c) 2024 Gustavo Silva <[email protected]>
 *
 * 7-Bit I2C slave address is:
 *	- 0x52 if ADDR pin LOW
 *	- 0x53 if ADDR pin HIGH
 */

#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/regmap.h>

#include "ens160.h"

static const struct regmap_config ens160_regmap_i2c_conf =;

static int ens160_i2c_probe(struct i2c_client *client)
{}

static const struct i2c_device_id ens160_i2c_id[] =;
MODULE_DEVICE_TABLE(i2c, ens160_i2c_id);

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

static struct i2c_driver ens160_i2c_driver =;
module_i2c_driver();

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