linux/drivers/iio/chemical/ens160_spi.c

// SPDX-License-Identifier: GPL-2.0
/*
 * ScioSense ENS160 multi-gas sensor SPI driver
 *
 * Copyright (c) 2024 Gustavo Silva <[email protected]>
 */

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

#include "ens160.h"

#define ENS160_SPI_READ

static const struct regmap_config ens160_regmap_spi_conf =;

static int ens160_spi_probe(struct spi_device *spi)
{}

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

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

static struct spi_driver ens160_spi_driver =;
module_spi_driver();

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