linux/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * STMicroelectronics st_lsm6dsx i2c driver
 *
 * Copyright 2016 STMicroelectronics Inc.
 *
 * Lorenzo Bianconi <[email protected]>
 * Denis Ciocca <[email protected]>
 */

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

#include "st_lsm6dsx.h"

static const struct regmap_config st_lsm6dsx_i2c_regmap_config =;

static int st_lsm6dsx_i2c_probe(struct i2c_client *client)
{}

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

static const struct acpi_device_id st_lsm6dsx_i2c_acpi_match[] =;
MODULE_DEVICE_TABLE(acpi, st_lsm6dsx_i2c_acpi_match);

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

static struct i2c_driver st_lsm6dsx_driver =;
module_i2c_driver();

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